java.lang.Object | |
↳ | org.apache.commons.betwixt.BeanProperty |
Betwixt-centric view of a bean (or pseudo-bean) property. This object decouples the way that the (possibly pseudo) property introspection is performed from the results of that introspection.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a BeanProperty.
| |||||||||||
Constructs a BeanProperty from a
PropertyDescriptor . | |||||||||||
Constructs a BeanProperty from a
DynaProperty |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a XML descriptor from a bean one.
| |||||||||||
Gets the expression used to read this property.
| |||||||||||
Gets the bean name for this property.
| |||||||||||
Gets the type of this property.
| |||||||||||
Gets the updater used to write to this properyty.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Construct a BeanProperty.
propertyName | not null |
---|---|
propertyType | not null |
propertyExpression | the Expression used to read the property, null if the property is not readable |
propertyUpdater | the Updater used to write the property, null if the property is not writable |
Constructs a BeanProperty from a PropertyDescriptor
.
descriptor | not null |
---|
Constructs a BeanProperty from a DynaProperty
dynaProperty | not null |
---|
Create a XML descriptor from a bean one. Go through and work out whether it's a loop property, a primitive or a standard. The class property is ignored.
configuration | IntrospectionConfiguration , not null |
---|
NodeDescriptor
for the property
Gets the expression used to read this property.
Gets the bean name for this property. Betwixt will map this to an xml name.
Gets the updater used to write to this properyty.