Interface TransformationEnvironmentIF
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
TransformationEnvironment
Environment during a model transformation.
- Version:
- 11.1.0
- Author:
- jmback
-
Method Summary
Modifier and TypeMethodDescriptiongetMappingModel(MappingModelRole modelRole) Get the model for the mapping role.Get the relation model.Get the model transformation.voidlogCreateMessage(MappingElementIF se, MappingElementList created) Log a created model element.voidlogFlush(boolean bForce) Flush log messages to log model.voidLog modified model elements.voidlogWeaveMessage(MappingElementIF sourceElement, MappingElementIF weaveElement) Log a weaved model element.voidlogWouldCreateMessage(MappingElementIF se, MappingAnchor anchors, MappingElementIF targetDummy) Log a potential creation of a model element.voidLog a potential modification of model elements.voidlogWouldWeaveMessage(MappingElementIF se, MappingElementIF candidate) Log a potential weave for a mapping element and the candidates to weave with.voidsetMappingModel(MappingModelRole modelRole, MappingModel model) Set the model for the role.voidsetTransformation(ModelTransformationIF modelTransformation) Set the model transformation.
-
Method Details
-
getRelationModel
RelationModel getRelationModel()Get the relation model.- Returns:
- relation model
-
getMappingModel
Get the model for the mapping role.- Parameters:
modelRole- mapping role- Returns:
- model for this role
-
setMappingModel
Set the model for the role.- Parameters:
modelRole- role of model in the transformationmodel- transformation model
-
logWeaveMessage
void logWeaveMessage(MappingElementIF sourceElement, MappingElementIF weaveElement) throws M2MException, RemoteException Log a weaved model element.- Parameters:
sourceElement- Model element in source modelweaveElement- Weave element- Throws:
M2MExceptionRemoteException
-
logWouldWeaveMessage
void logWouldWeaveMessage(MappingElementIF se, MappingElementIF candidate) throws M2MException, RemoteException Log a potential weave for a mapping element and the candidates to weave with.- Parameters:
se- mapping elementcandidate- candidate to weave with candidates for weaving- Throws:
M2MExceptionRemoteException
-
logCreateMessage
void logCreateMessage(MappingElementIF se, MappingElementList created) throws M2MException, RemoteException Log a created model element.- Parameters:
se- Model element in source model.created- List of created model elements.- Throws:
M2MExceptionRemoteException
-
logWouldCreateMessage
void logWouldCreateMessage(MappingElementIF se, MappingAnchor anchors, MappingElementIF targetDummy) throws M2MException, RemoteException Log a potential creation of a model element.- Parameters:
se- mapping element in source modelanchors- anchor for the mappingtargetDummy- dummy model element in target model- Throws:
M2MExceptionRemoteException
-
logModifiedMessage
void logModifiedMessage(FunctionalVariationPointChangeVectors modified) throws M2MException, RemoteException Log modified model elements.- Parameters:
modified- Modifications at the modified elements- Throws:
M2MExceptionRemoteException
-
logWouldModifyMessage
void logWouldModifyMessage(FunctionalVariationPointChangeVectors modified) throws M2MException, RemoteException Log a potential modification of model elements.- Parameters:
modified- Modifications to do- Throws:
M2MExceptionRemoteException
-
logFlush
Flush log messages to log model. Flush only if last flush has been a while ago- Parameters:
bForce- flush anyway- Throws:
RemoteException
-
setTransformation
Set the model transformation.- Parameters:
modelTransformation- model transformation
-
getTransformation
ModelTransformationIF getTransformation()Get the model transformation.- Returns:
- model transformation
-