Interface PatternIF
- All Superinterfaces:
ConditionAbleIF,ConfigurableItemIF,IdentifierAble,Serializable
- All Known Subinterfaces:
ModelEmbeddingIF,SourceMatchClassIF,TargetMatchClassIF
- All Known Implementing Classes:
ElementFromActivePassiveSelection,ElementFromInitialSelection,ElementFromStore,ElementFromStore,Pattern,PatternEmbeddingDefault,PatternEmbeddingInnovatorDiagram,PatternEmbeddingInnovatorSortOrder,PatternEmbeddingMultiple,PatternEmbeddingNull,PatternEmbeddingPair,PatternEmbeddingQualified,PatternExtendingInnovator,PatternHookBase,PatternHookElementFromActivePassiveSelection,PatternHookElementFromInitialSelection,PatternHookElementFromTransformationStep,PatternHookInnovator,PatternProductionAppend,PatternProductionBaseInnovator,PatternProductionDiagramInnovator,PatternProductionError,PatternProductionPathSequence,PatternProductionSortOrderInnovator,PatternSourceHookElementByElementURI,PatternSourceHookPackageByPath,PatternTargetHookElementByCreateRedirect,PatternTargetHookElementByElementURI,PatternTargetHookElementByMappingConfigurationPackage,PatternTargetHookPackageByPath,PatternTargetMatchAnchor,PatternTargetMatchAssociationEndInnovator,PatternTargetMatchAssociationInnovator,PatternTargetMatchBase,PatternTargetMatchBaseInnovator,PatternTargetMatchCommentAssignInnovator,PatternTargetMatchDiagramInnovator,PatternTargetMatchInnovator,PatternTargetMatchInnovatorLost,PatternTargetMatchOwning,PatternTargetMatchPathSequence,PatternTargetMatchSource,PatternTargetMatchSourceTargetInnovator
The pattern
- Author:
- jmback
-
Method Summary
Modifier and TypeMethodDescriptionvoidevaluate(MappingModelRole modelRole, MappingElementIF sourceElement, MappingAnchor anchors, MappingElementList patternIn, MappingElementList patternOut, TransformationStepSubStepData subStepData) Evaluate the pattern.voidfilterByPattern(MappingModelRole modelRole, MappingElementIF sourceElement, MappingAnchor anchors, MappingElementList patternIn, MappingElementList patternOut, TransformationStepSubStepData subStepData) Filter the given list of patterns.voidpreinit(SessionInterface iSession, MappingModelRole modelRole) Preinits the element for later usage.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.util.IdentifierAble
getId, setId
-
Method Details
-
filterByPattern
void filterByPattern(MappingModelRole modelRole, MappingElementIF sourceElement, MappingAnchor anchors, MappingElementList patternIn, MappingElementList patternOut, TransformationStepSubStepData subStepData) throws M2MException, RemoteException Filter the given list of patterns.- Parameters:
modelRole- If the given pattern is in the source or target modelsourceElement- TODOanchors-patternIn- The list of patterns to be filteredpatternOut- The list of patterns which matchedsubStepData- SubstepData- Throws:
M2MException- an exception occurredRemoteException
-
evaluate
void evaluate(MappingModelRole modelRole, MappingElementIF sourceElement, MappingAnchor anchors, MappingElementList patternIn, MappingElementList patternOut, TransformationStepSubStepData subStepData) throws M2MException, RemoteException Evaluate the pattern.- Parameters:
modelRole- If the given pattern is in the source or target modelsourceElement- source element to compare the target withanchors- anchor for the created patterns. The anchor maybe modified by an embedding.patternIn- pattern to be used for creationpatternOut- created patternsubStepData- subStepData- Throws:
M2MException- an exception occurredRemoteException
-
preinit
void preinit(SessionInterface iSession, MappingModelRole modelRole) throws M2MException, RemoteException Preinits the element for later usage.- Parameters:
iSession- Session itemmodelRole- it his pattern used in source or target model- Throws:
M2MExceptionRemoteExceptionAbortException- critical errorSevereException- non critical errorRemoteException
-