Class ModelPropertyCalculator
java.lang.Object
org.openxava.calculators.ModelPropertyCalculator
- All Implemented Interfaces:
Serializable, ICalculator, IModelCalculator
Return the value of the indicated property of the sent object model.
Useful for accessing to a calculated property of a handmade POJO.
- Author:
- Javier Paniza
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThe model object that contains the member that uses the calculator.voidsetProperty(String property) voidsetValueOfDependsProperty(Object valueOfDependsProperty)
-
Constructor Details
-
ModelPropertyCalculator
public ModelPropertyCalculator()
-
-
Method Details
-
setModel
Description copied from interface:IModelCalculatorThe model object that contains the member that uses the calculator.- Specified by:
setModelin interfaceIModelCalculator- Throws:
RemoteException
-
calculate
- Specified by:
calculatein interfaceICalculator- Throws:
Exception
-
getProperty
-
setProperty
-
getValueOfDependsProperty
-
setValueOfDependsProperty
-