Class ModelExtension
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.ConfigurableItem
de.mid.innovator.m2msdk.model.transformation.pattern.extension.ModelExtension
- All Implemented Interfaces:
ConfigurableItemIF,ModelExtensionIF,IdentifierAble,Serializable
Model extension for souce or target model.
- Version:
- 10.1.1
- Author:
- jmback
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidevaluate(WorkModelInterface workModel) Evaluate the model extension in this transformation environment.Returns all triggered extension groupsvoidpreinit(SessionInterface iSession, MappingModelRole modelRole) Preinit the model extension.voidsetConfigurationContext(SessionInterface iSession, MetaModel sourceMM, MetaModel targetMM, ConfigurationItemIF context) Set the configuration context of this configurable item.Methods inherited from class de.mid.innovator.m2msdk.model.transformation.ConfigurableItem
checkConstraints, checkConstraints, getBaseItem, getConfigurableItems, getConfigurationTag, getId, getItem, getKnownParameters, getName, getParentItem, getParentItem, setBaseItem, setConfigurationTag, setId, setParent, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.mid.innovator.m2msdk.model.transformation.interfaces.ConfigurableItemIF
checkConstraints, checkConstraints, getBaseItem, getConfigurableItems, getConfigurationTag, getItem, getKnownParameters, getName, getParentItem, getParentItem, setBaseItem, setConfigurationTag, setParentMethods inherited from interface de.mid.innovator.m2msdk.util.IdentifierAble
getId, setId
-
Constructor Details
-
ModelExtension
public ModelExtension()
-
-
Method Details
-
getTriggeredExtensionGroups
Description copied from interface:ModelExtensionIFReturns all triggered extension groups- Specified by:
getTriggeredExtensionGroupsin interfaceModelExtensionIF- Returns:
- list
-
evaluate
Description copied from interface:ModelExtensionIFEvaluate the model extension in this transformation environment.- Specified by:
evaluatein interfaceModelExtensionIF- Parameters:
workModel- model to work on- Throws:
M2MExceptionRemoteExceptionRemoteException
-
setConfigurationContext
public void setConfigurationContext(SessionInterface iSession, MetaModel sourceMM, MetaModel targetMM, ConfigurationItemIF context) throws M2MException, RemoteException Description copied from interface:ConfigurableItemIFSet the configuration context of this configurable item. The configurable item is configured according the context.- Specified by:
setConfigurationContextin interfaceConfigurableItemIF- Overrides:
setConfigurationContextin classConfigurableItem- Parameters:
iSession- sessionsourceMM- source meta modeltargetMM- target meta modelcontext- Configuration item- Throws:
M2MException- generic exceptionRemoteException- exception from remote execution
-
preinit
Description copied from interface:ModelExtensionIFPreinit the model extension.- Specified by:
preinitin interfaceModelExtensionIF- Parameters:
iSession- session elementmodelRole- role as source or target- Throws:
AbortException- if a critical error occurred
-