Interface MappingModelGlueIF
- All Superinterfaces:
ConditionAbleIF,ConfigurableItemIF,FunctionalVariationPointGroupAbleIF,IdentifierAble,Serializable
- All Known Implementing Classes:
DeleteMappingModelGlueInnovatorDependency,MappingModelGlue,MappingModelGlueInnovator,MappingModelGlueInnovatorDependency,MappingModelGlueInnovatorProxyAbstractBase,MappingModelGlueInnovatorProxyExternModel,MappingModelGlueInnovatorProxyInnovator,MappingModelGlueNull
public interface MappingModelGlueIF
extends ConfigurableItemIF, ConditionAbleIF, FunctionalVariationPointGroupAbleIF
This interface describes the creating and finding of a glue.
- Version:
- 10.1.1
- Author:
- jmback
-
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) Methods inherited from interface de.mid.innovator.m2msdk.model.transformation.interfaces.ConditionAbleIF
evaluateConditions, evaluateScore, filterElementsMethods inherited from interface de.mid.innovator.m2msdk.model.transformation.interfaces.ConfigurableItemIF
checkConstraints, checkConstraints, getBaseItem, getConfigurableItems, getConfigurationTag, getItem, getKnownParameters, getName, getParentItem, getParentItem, setBaseItem, setConfigurationContext, setConfigurationTag, setParentMethods inherited from interface de.mid.innovator.m2msdk.model.transformation.variationPoint.FunctionalVariationPointGroupAbleIF
applyFunctionalVariationPointsMethods inherited from interface de.mid.innovator.m2msdk.util.IdentifierAble
getId, setId
-
Method Details
-
isPersistent
boolean isPersistent()Is the glue persistent?- Returns:
- true, if there is or would be a persistent glue if this class would be used to build a glue.
-
getGlueFromSource
GluePart getGlueFromSource(MappingElementIF sourceElement, TransformationStepSubStepData preStepData) throws M2MException, RemoteException Get glue from source element.- Parameters:
sourceElement- mapping element in source model- Returns:
- glue, if a persistent glue exists
- Throws:
M2MExceptionRemoteException
-
getGlueFromSources
List<GluePart> getGlueFromSources(MappingElementList sourceElements) throws M2MException, RemoteException Get glue from source elements.- Parameters:
sourceElements- list mapping element in source model- Returns:
- list of glues in same order as source elements
- Throws:
M2MExceptionRemoteException
-
getSourcesFromTarget
MappingElementList getSourcesFromTarget(MappingElementIF targetElement) throws M2MException, RemoteException Get sources of glues of target.- Parameters:
targetElement- mapping element in target model- Returns:
- sources of glues glued with target
- Throws:
M2MExceptionRemoteExceptionAbortExceptionSevereException
-
buildModelGlue
boolean buildModelGlue(SimulateMode iMode, MappingElementIF masterElement, MappingElementIF slaveElement) throws M2MException, RemoteException Create or update a model glue between slave element and master element.- 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.
- Throws:
M2MException- exceptionRemoteException
-
preinitSource
- Throws:
M2MException
-
preinitTarget
- Throws:
M2MException
-