|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Constructor Summary | |
BeanProperty(org.apache.commons.beanutils.DynaProperty dynaProperty)
Constructs a BeanProperty from a DynaProperty |
|
BeanProperty(java.beans.PropertyDescriptor descriptor)
Constructs a BeanProperty from a PropertyDescriptor . |
|
BeanProperty(java.lang.String propertyName,
java.lang.Class propertyType,
Expression propertyExpression,
Updater propertyUpdater)
Construct a BeanProperty. |
Method Summary | |
Descriptor |
createXMLDescriptor(IntrospectionConfiguration configuration)
Create a XML descriptor from a bean one. |
Expression |
getPropertyExpression()
Gets the expression used to read this property. |
java.lang.String |
getPropertyName()
Gets the bean name for this property. |
java.lang.Class |
getPropertyType()
Gets the type of this property. |
Updater |
getPropertyUpdater()
Gets the updater used to write to this properyty. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BeanProperty(java.lang.String propertyName, java.lang.Class propertyType, Expression propertyExpression, Updater propertyUpdater)
propertyName
- not nullpropertyType
- not nullpropertyExpression
- the Expression used to read the property,
null if the property is not readablepropertyUpdater
- the Updater used to write the property,
null if the property is not writablepublic BeanProperty(java.beans.PropertyDescriptor descriptor)
PropertyDescriptor
.
descriptor
- not nullpublic BeanProperty(org.apache.commons.beanutils.DynaProperty dynaProperty)
DynaProperty
dynaProperty
- not nullMethod Detail |
public java.lang.String getPropertyName()
public java.lang.Class getPropertyType()
public Expression getPropertyExpression()
public Updater getPropertyUpdater()
public Descriptor createXMLDescriptor(IntrospectionConfiguration configuration)
NodeDescriptor
for the property
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |