org.openxava.calculators
Class ModelPropertyCalculator
java.lang.Object
org.openxava.calculators.ModelPropertyCalculator
- All Implemented Interfaces:
- java.io.Serializable, ICalculator, IModelCalculator
public class ModelPropertyCalculator
- extends java.lang.Object
- implements 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:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelPropertyCalculator
public ModelPropertyCalculator()
setModel
public void setModel(java.lang.Object model)
throws java.rmi.RemoteException
- Description copied from interface:
IModelCalculator
- The model object that contains the member that uses the calculator.
- Specified by:
setModel in interface IModelCalculator
- Throws:
java.rmi.RemoteException
calculate
public java.lang.Object calculate()
throws java.lang.Exception
- Specified by:
calculate in interface ICalculator
- Throws:
java.lang.Exception
getProperty
public java.lang.String getProperty()
setProperty
public void setProperty(java.lang.String property)
getValueOfDependsProperty
public java.lang.Object getValueOfDependsProperty()
setValueOfDependsProperty
public void setValueOfDependsProperty(java.lang.Object valueOfDependsProperty)