Class PatternTargetHookElementByMappingConfigurationPackage
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.ConfigurableItem
de.mid.innovator.m2msdk.model.transformation.pattern.Pattern
de.mid.innovator.m2msdk.model.innovator.pattern.targetMatch.PatternHookInnovator
de.mid.innovator.m2msdk.model.innovator.pattern.targetMatch.PatternTargetHookElementByMappingConfigurationPackage
- All Implemented Interfaces:
ConditionAbleIF, ConfigurableItemIF, PatternIF, TargetMatchClassIF, IdentifierAble, Serializable
Find the target element by getting the mapping configuration package.
- Version:
- 10.1.1
- Author:
- jmback
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidevaluateInnovatorSpecific(MappingModelRole modelRole, MappingElementIF sourceElement, MappingAnchor anchor, MappingElementList patternIn, MappingElementList patternOut) Overwrite this method to realize Innovator specific behavior.Get the list of all acceptable parameter names.voidsetConfigurationContext(SessionInterface iSession, MetaModel sourceMM, MetaModel targetMM, ConfigurationItemIF context) Set the configuration context of this configurable item.Methods inherited from class PatternHookInnovator
filterByPattern, getReferencedEmbeddingsMethods inherited from class Pattern
checkElementsExtension, evaluate, evaluateConditions, evaluateScore, filterElements, preinitMethods inherited from class ConfigurableItem
checkConstraints, checkConstraints, getBaseItem, getConfigurableItems, getConfigurationTag, getId, getItem, getName, getParentItem, getParentItem, setBaseItem, setConfigurationTag, setId, setParent, toStringMethods inherited from interface ConditionAbleIF
evaluateConditions, evaluateScore, filterElementsMethods inherited from interface ConfigurableItemIF
checkConstraints, checkConstraints, getBaseItem, getConfigurableItems, getConfigurationTag, getItem, getName, getParentItem, getParentItem, setBaseItem, setConfigurationTag, setParentMethods inherited from interface IdentifierAble
getId, setId
-
Constructor Details
-
PatternTargetHookElementByMappingConfigurationPackage
public PatternTargetHookElementByMappingConfigurationPackage()
-
-
Method Details
-
evaluateInnovatorSpecific
public void evaluateInnovatorSpecific(MappingModelRole modelRole, MappingElementIF sourceElement, MappingAnchor anchor, MappingElementList patternIn, MappingElementList patternOut) throws de.mid.innovator.net.InoNetException, de.mid.innovator.srv.SrvErrorException, M2MException, RemoteException Description copied from class:PatternHookInnovatorOverwrite this method to realize Innovator specific behavior. This method returns all mapping elements.- Specified by:
evaluateInnovatorSpecificin classPatternHookInnovator- Parameters:
modelRole-sourceElement-anchor-patternIn-patternOut-- Throws:
de.mid.innovator.net.InoNetExceptionde.mid.innovator.srv.SrvErrorExceptionM2MExceptionRemoteExceptionRemoteException
-
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 classPatternHookInnovator- 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 classPatternHookInnovator- 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
-