public interface Mapping
A instance of Mapping can be created from an OperationContext. Once instantiated, a Mapping is usually used in conjunction with MappingFunction instances.
This interface is not intended to be implemented by clients.
OperationContext.createMapping(Model, Model)
,
MappingFunction
Modifier and Type | Method and Description |
---|---|
MappingLogBuilder |
createLogBuilder()
Creates an operation to store this mapping information into the main operation log.
|
OperationContext |
getContext()
Returns the context which instantiated this mapping.
|
Model |
getInput()
Returns the input model associated with this mapping.
|
ObjectMapping |
getMapping(EObject input)
Returns the mapping information associated with the specified instance, part of the input model.
|
Model |
getOutput()
Returns the output model associated with this mapping.
|
ReferenceManager |
getReferences()
Returns the manager used to build references between instances.
|
OperationContext getContext()
OperationContext.createMapping(Model, Model)
Model getInput()
OperationContext.createMapping(Model, Model)
Model getOutput()
OperationContext.createMapping(Model, Model)
ObjectMapping getMapping(EObject input)
null
.input
- an instance part of the input model.ReferenceManager getReferences()
MappingLogBuilder createLogBuilder()
The mapping log should be created by the time the transformation related to this mapping is completed. It should be the last step of the transformation, before serializing the output model.