org.tynamo.descriptor.annotation
Class ExpressionExtension
java.lang.Object
org.tynamo.descriptor.annotation.ExpressionExtension
- All Implemented Interfaces:
- Serializable, DescriptorExtension
- Direct Known Subclasses:
- InitialValueDescriptorExtension, PossibleValuesDescriptorExtension
public abstract class ExpressionExtension
- extends Object
- implements DescriptorExtension
- See Also:
- Serialized Form
|
Method Summary |
Object |
evaluateExpresion(Object model)
Method used to initialize the value of the filtering property using the
value of the filtered one (for example, initialize the country based on the
value of the state property. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpressionExtension
public ExpressionExtension(String theExpression)
- Creates a
ExpressionExtension.
- Parameters:
theExpression - Ognl expression that evaluated gets a list of possible
values to use with the current property, cannot be null.
ExpressionExtension
public ExpressionExtension(String theExpression,
Map context)
- Creates a
ExpressionExtension.
- Parameters:
theExpression - Ognl expression that evaluated gets a list of possible
values to use with the current property, cannot be null.context -
evaluateExpresion
public Object evaluateExpresion(Object model)
throws ognl.OgnlException
- Method used to initialize the value of the filtering property using the
value of the filtered one (for example, initialize the country based on the
value of the state property.
- Parameters:
model - the model used by the edit page, cannot be null.
- Returns:
-
- Throws:
ognl.OgnlException
Copyright © 2004-2009. All Rights Reserved.