public class Property extends Object
| Constructor and Description |
|---|
Property(GenericType type,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Method |
getAccessor() |
Annotation |
getAnnotation(Class<? extends Annotation> clazz) |
Field |
getField() |
Method |
getMutator() |
String |
getName() |
GenericType |
getType() |
boolean |
hasAnnotation(Class<? extends Annotation> clazz) |
boolean |
hasField() |
boolean |
isMutable() |
void |
removeAccessor() |
void |
removeField() |
void |
removeMutator() |
void |
setName(String name) |
void |
setType(GenericType type) |
public Property(GenericType type, String name)
public String getName()
public void setName(String name)
public GenericType getType()
public void setType(GenericType type)
public Field getField()
public Method getAccessor()
public Method getMutator()
public void removeAccessor()
public void removeMutator()
public void removeField()
public boolean isMutable()
public boolean hasField()
public boolean hasAnnotation(Class<? extends Annotation> clazz)
public Annotation getAnnotation(Class<? extends Annotation> clazz)
Apache Camel