public class ModelPropertyCalculator extends java.lang.Object implements IModelCalculator
Useful for accessing to a calculated property of a handmade POJO.
Constructor and Description |
---|
ModelPropertyCalculator() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
calculate() |
java.lang.String |
getProperty() |
java.lang.Object |
getValueOfDependsProperty() |
void |
setModel(java.lang.Object model)
The model object that contains the member that uses the calculator.
|
void |
setProperty(java.lang.String property) |
void |
setValueOfDependsProperty(java.lang.Object valueOfDependsProperty) |
public void setModel(java.lang.Object model) throws java.rmi.RemoteException
IModelCalculator
setModel
in interface IModelCalculator
java.rmi.RemoteException
public java.lang.Object calculate() throws java.lang.Exception
calculate
in interface ICalculator
java.lang.Exception
public java.lang.String getProperty()
public void setProperty(java.lang.String property)
public java.lang.Object getValueOfDependsProperty()
public void setValueOfDependsProperty(java.lang.Object valueOfDependsProperty)