Class MappingModelGlueNull
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.ConfigurableItem
de.mid.innovator.m2msdk.model.transformation.glue.MappingModelGlue
de.mid.innovator.m2msdk.model.transformation.glue.MappingModelGlueNull
- All Implemented Interfaces:
ConditionAbleIF,ConfigurableItemIF,MappingModelGlueIF,FunctionalVariationPointGroupAbleIF,IdentifierAble,Serializable
No persistent glue is created or searched.
- Version:
- 11.1.3
- Author:
- jmback
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbuildModelGlue(SimulateMode iMode, MappingElementIF masterElement, MappingElementIF slaveElement) Create or update a model glue between slave element and master element.getGlueFromSource(MappingElementIF sourceElement, TransformationStepSubStepData preStepData) Get glue from source element.getGlueFromSources(MappingElementList sourceElements) Get glue from source elements.getSourcesFromTarget(MappingElementIF targetElement) Get sources of glues of target.booleanIs the glue persistent?voidpreinitSource(SessionInterface iSession, MappingModel sourceModel) voidpreinitTarget(SessionInterface iSession, MappingModel sourceModel) 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.glue.MappingModelGlue
applyFunctionalVariationPoints, evaluateConditions, evaluateScore, filterElementsMethods 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
-
MappingModelGlueNull
public MappingModelGlueNull()
-
-
Method Details
-
getGlueFromSource
public GluePart getGlueFromSource(MappingElementIF sourceElement, TransformationStepSubStepData preStepData) Description copied from interface:MappingModelGlueIFGet glue from source element.- Specified by:
getGlueFromSourcein interfaceMappingModelGlueIF- Overrides:
getGlueFromSourcein classMappingModelGlue- Parameters:
sourceElement- mapping element in source model- Returns:
- glue, if a persistent glue exists
-
getSourcesFromTarget
Description copied from interface:MappingModelGlueIFGet sources of glues of target.- Specified by:
getSourcesFromTargetin interfaceMappingModelGlueIF- Overrides:
getSourcesFromTargetin classMappingModelGlue- Parameters:
targetElement- mapping element in target model- Returns:
- sources of glues glued with target
-
preinitSource
public void preinitSource(SessionInterface iSession, MappingModel sourceModel) throws AbortException - Specified by:
preinitSourcein interfaceMappingModelGlueIF- Overrides:
preinitSourcein classMappingModelGlue- Throws:
AbortException
-
preinitTarget
public void preinitTarget(SessionInterface iSession, MappingModel sourceModel) throws AbortException - Specified by:
preinitTargetin interfaceMappingModelGlueIF- Overrides:
preinitTargetin classMappingModelGlue- Throws:
AbortException
-
buildModelGlue
public boolean buildModelGlue(SimulateMode iMode, MappingElementIF masterElement, MappingElementIF slaveElement) Description copied from interface:MappingModelGlueIFCreate or update a model glue between slave element and master element.- Specified by:
buildModelGluein interfaceMappingModelGlueIF- Overrides:
buildModelGluein classMappingModelGlue- Parameters:
iMode- simulate or updatemasterElement- mapping element being the master of the glueslaveElement- mapping element being the slave of the glue- Returns:
- true, if a new persistent glue has been created.
-
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 classMappingModelGlue- Parameters:
iSession- sessionsourceMM- source meta modeltargetMM- target meta modelcontext- Configuration item- Throws:
M2MException- generic exceptionRemoteException- exception from remote execution
-
getGlueFromSources
Description copied from interface:MappingModelGlueIFGet glue from source elements.- Specified by:
getGlueFromSourcesin interfaceMappingModelGlueIF- Overrides:
getGlueFromSourcesin classMappingModelGlue- Parameters:
sourceElements- list mapping element in source model- Returns:
- list of glues in same order as source elements
- Throws:
M2MException
-
isPersistent
public boolean isPersistent()Description copied from interface:MappingModelGlueIFIs the glue persistent?- Specified by:
isPersistentin interfaceMappingModelGlueIF- Overrides:
isPersistentin classMappingModelGlue- Returns:
- true, if there is or would be a persistent glue if this class would be used to build a glue.
-