public interface Transformer extends GraphAnalyzer
hasBackwardMapping()
and hasForwardMapping()
methods.
Red (ssb) |
Red (shahrooz) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasBackwardMapping()
Specify if this transformer has a mapping from the transformed
version to the original version or not.
|
boolean |
hasForwardMapping()
Specify if this transformer has a mapping from the original
version to the transformed version or not.
|
java.lang.Object |
originalVersionOf(java.lang.Object transformedObject)
Return the original version of given object in the transformed graph.
|
java.lang.Object |
transformedVersionOf(java.lang.Object originalObject)
Return the transformed version of a given object in the original graph.
|
graph
boolean hasBackwardMapping()
boolean hasForwardMapping()
java.lang.Object originalVersionOf(java.lang.Object transformedObject)
transformedObject
- The given object in the transformed graph.java.lang.Object transformedVersionOf(java.lang.Object originalObject)
originalObject
- The given object in the original graph.