public class PropertyDefinition
extends java.lang.Object
BeanDefinition
.
Providing property definitions within a BeanDefinition is an alternative
to using annotations in the Java code or providing an
ArooaBeanDescriptor
Arooa class file.
Modifier and Type | Class and Description |
---|---|
static class |
PropertyDefinition.PropertyType |
Constructor and Description |
---|
PropertyDefinition()
No Arg Constructor.
|
PropertyDefinition(java.lang.String name,
PropertyDefinition.PropertyType type)
Constructor when used from code.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAnnotation() |
java.lang.Boolean |
getAuto() |
java.lang.String |
getFlavour() |
java.lang.String |
getName() |
PropertyDefinition.PropertyType |
getType() |
void |
setAnnotation(java.lang.String annotation) |
void |
setAuto(java.lang.Boolean auto) |
void |
setFlavour(java.lang.String flavour) |
void |
setName(java.lang.String name) |
void |
setType(PropertyDefinition.PropertyType type) |
java.lang.String |
toString() |
public PropertyDefinition()
public PropertyDefinition(java.lang.String name, PropertyDefinition.PropertyType type)
name
- type
- public void setName(java.lang.String name)
public java.lang.String getName()
public void setType(PropertyDefinition.PropertyType type)
public PropertyDefinition.PropertyType getType()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getFlavour()
public void setFlavour(java.lang.String flavour)
public java.lang.Boolean getAuto()
public void setAuto(java.lang.Boolean auto)
public java.lang.String getAnnotation()
public void setAnnotation(java.lang.String annotation)