Class Property
- java.lang.Object
-
- org.apache.camel.tooling.util.srcgen.Property
-
public class Property extends Object
-
-
Constructor Summary
Constructors Constructor Description Property(GenericType type, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodgetAccessor()AnnotationgetAnnotation(Class<? extends Annotation> clazz)FieldgetField()MethodgetMutator()StringgetName()GenericTypegetType()booleanhasAnnotation(Class<? extends Annotation> clazz)booleanhasField()booleanisMutable()voidremoveAccessor()voidremoveField()voidremoveMutator()voidsetName(String name)voidsetType(GenericType type)
-
-
-
Constructor Detail
-
Property
public Property(GenericType type, String name)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getType
public GenericType getType()
-
setType
public void setType(GenericType type)
-
getField
public Field getField()
-
getAccessor
public Method getAccessor()
-
getMutator
public Method getMutator()
-
removeAccessor
public void removeAccessor()
-
removeMutator
public void removeMutator()
-
removeField
public void removeField()
-
isMutable
public boolean isMutable()
-
hasField
public boolean hasField()
-
hasAnnotation
public boolean hasAnnotation(Class<? extends Annotation> clazz)
-
getAnnotation
public Annotation getAnnotation(Class<? extends Annotation> clazz)
-
-