| |
|
| java.lang.Object org.apache.commons.betwixt.expression.DynaBeanExpression
DynaBeanExpression | public class DynaBeanExpression implements Expression(Code) | | An Expression that gets a property value from a DynaBean.
See Also: org.apache.commons.beanutils.DynaBean author: Michael Becke since: 0.5 |
DynaBeanExpression | public DynaBeanExpression()(Code) | | Crates a new DynaBeanExpression.
|
DynaBeanExpression | public DynaBeanExpression(String propertyName)(Code) | | Crates a new DynaBeanExpression.
Parameters: propertyName - the name of the DynaBean property to use |
evaluate | public Object evaluate(Context context)(Code) | | Returns the value of a DynaBean property from the bean stored in
the Context. Returns null if no DynaBean is stored
in the Context or if the propertyName has not been set.
Parameters: context - the content containing the DynaBean the DynaBean property value or null |
getPropertyName | public String getPropertyName()(Code) | | Gets the name of the property to get from the DynaBean.
the name of the property that this expression reads |
setPropertyName | public void setPropertyName(String propertyName)(Code) | | Sets the name of the property to get from the DynaBean.
Parameters: propertyName - the property that this expression reads, not null |
|
|
|