Class PatternEmbeddingDefault
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.ConfigurableItem
de.mid.innovator.m2msdk.model.transformation.pattern.Pattern
de.mid.innovator.m2msdk.model.transformation.pattern.embedding.PatternEmbeddingDefault
- All Implemented Interfaces:
ConditionAbleIF,ConfigurableItemIF,ModelEmbeddingIF,PatternIF,IdentifierAble,Serializable
- Direct Known Subclasses:
PatternEmbeddingInnovatorDiagram,PatternEmbeddingInnovatorSortOrder,PatternEmbeddingMultiple,PatternEmbeddingPair,PatternEmbeddingQualified
This embedding delivers a list of anchor points. The anchor points are
computed by the anchor groups.
- Version:
- 10.1.1
- Author:
- nagl
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfilterByPattern(MappingModelRole modelRole, MappingElementIF sourceElement, MappingAnchor resultAnchor, MappingElementList patternIn, MappingElementList patternOut, TransformationStepSubStepData subStepData) Filter the given list of patterns.Get the list of all acceptable parameter names.Get the model transformation step that proceeds the owning step.voidsetConfigurationContext(SessionInterface iSession, MetaModel sourceMM, MetaModel targetMM, ConfigurationItemIF context) Set the configuration context of this configurable item.voidSet model transformation step that proceeds the owning step.toString()Methods inherited from class de.mid.innovator.m2msdk.model.transformation.pattern.Pattern
checkElementsExtension, evaluate, evaluateConditions, evaluateScore, filterElements, preinitMethods inherited from class de.mid.innovator.m2msdk.model.transformation.ConfigurableItem
checkConstraints, checkConstraints, getBaseItem, getConfigurableItems, getConfigurationTag, getId, getItem, getName, getParentItem, getParentItem, setBaseItem, setConfigurationTag, setId, setParentMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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, getName, getParentItem, getParentItem, setBaseItem, setConfigurationTag, setParentMethods inherited from interface de.mid.innovator.m2msdk.util.IdentifierAble
getId, setId
-
Constructor Details
-
PatternEmbeddingDefault
public PatternEmbeddingDefault()
-
-
Method Details
-
filterByPattern
public void filterByPattern(MappingModelRole modelRole, MappingElementIF sourceElement, MappingAnchor resultAnchor, MappingElementList patternIn, MappingElementList patternOut, TransformationStepSubStepData subStepData) throws M2MException, RemoteException Description copied from interface:PatternIFFilter the given list of patterns.- Specified by:
filterByPatternin interfacePatternIF- Overrides:
filterByPatternin classPattern- Parameters:
modelRole- If the given pattern is in the source or target modelsourceElement- TODOresultAnchor-patternIn- The list of patterns to be filteredpatternOut- The list of patterns which matchedsubStepData- SubstepData- Throws:
M2MException- an exception occurredRemoteException
-
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 classPattern- Parameters:
iSession- sessionsourceMM- source meta modeltargetMM- target meta modelcontext- Configuration item- Throws:
M2MException- generic exceptionRemoteException- exception from remote execution
-
getKnownParameters
public ParameterTemplates getKnownParameters(MappingElementIF me, ConfigurationItemIF item) throws M2MException, RemoteException Description copied from interface:ConfigurableItemIFGet the list of all acceptable parameter names.- Specified by:
getKnownParametersin interfaceConfigurableItemIF- Overrides:
getKnownParametersin classPattern- Parameters:
me- mapping element, maybe nullitem- configuration item, maybe null- Returns:
- list of parameter names
- Throws:
M2MException- generic exceptionRemoteException- error in communicationRemoteException- exception from remote execution
-
getPredecessorModelTransformationStep
Description copied from interface:ModelEmbeddingIFGet the model transformation step that proceeds the owning step.- Specified by:
getPredecessorModelTransformationStepin interfaceModelEmbeddingIF- Returns:
- the step that proceeds this embedding
-
setPredecessorModelTransformationStep
Description copied from interface:ModelEmbeddingIFSet model transformation step that proceeds the owning step.- Specified by:
setPredecessorModelTransformationStepin interfaceModelEmbeddingIF- Parameters:
iStep- the step that proceeds this embedding
-
toString
- Overrides:
toStringin classConfigurableItem
-