public interface ILcdObjectTransformation
Modifier and Type | Method and Description |
---|---|
default ILcdObjectTransformation |
andThen(ILcdObjectTransformation aAfter)
Returns a transformation that executes the given transformations after the current one,
passing the result of this transformation to the next.
|
ILcdObjectTransformation |
getInverse()
Returns the inverse transformation.
|
Object |
transform(Object aObject,
Map<Object,Object> aContext)
Transforms the given value to another value.
|
Object transform(Object aObject, Map<Object,Object> aContext)
aObject
should not be null. The context can be
used to share information between transformations.aObject
- the value to transformaContext
- the contextILcdObjectTransformation getInverse()
getInverse().transform( transform( object ) )
should always
return an object that can be considered equal to the given object.
When the transformation has no inverse, null
should be returned.default ILcdObjectTransformation andThen(ILcdObjectTransformation aAfter)
aAfter
- the transformation to chainaAfter
transformation