|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Defines a computation used within a ComputedNode.
If you want to implement a computation that does not need a context you should
use AbstractSimpleComputation
as base class.
| Method Summary | |
java.util.Set |
computeIndexSet(ComputationValueAccess sourceValuesAccess,
Context context)
Performs the computation of a Set of the index values. |
java.lang.Object |
computeValue(ComputationValueAccess sourceValuesAccess,
Context context)
Performs the computation with an context. |
java.lang.Class[] |
getSourceTypes()
|
java.lang.Class |
getType()
|
void |
reverseValueComputation(java.lang.Object targetValue,
ComputationValueAccess sourceValuesAccess,
Context context)
Perform a reverse computation computes the correct source values with respect to the target value with a context. |
boolean |
supportsReverse()
|
| Method Detail |
public java.lang.Class getType()
public java.lang.Class[] getSourceTypes()
public java.lang.Object computeValue(ComputationValueAccess sourceValuesAccess,
Context context)
sourceValuesAccess - the access source valuescontext - the context to be used
public java.util.Set computeIndexSet(ComputationValueAccess sourceValuesAccess,
Context context)
sourceValuesAccess - the access source valuescontext - the context to be used
public boolean supportsReverse()
public void reverseValueComputation(java.lang.Object targetValue,
ComputationValueAccess sourceValuesAccess,
Context context)
ComputationValueAccess.
targetValue - the target valuesourceValuesAccess - the access current source valuescontext - the context to be used
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||