Class ExtensionGroup
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.ConfigurableItem
de.mid.innovator.m2msdk.model.transformation.pattern.extension.ExtensionGroup
- All Implemented Interfaces:
ConfigurableItemIF,IdentifierAble,Serializable
Group of extension statements.
- Version:
- 10.1.1
- Author:
- jmback
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ExtensionStoreElements extensionStoreElements) Execute the statements of the group.Get the type of the configurable item.getItem(Identifier iId) Get owned item with this identifier.Get the list of all acceptable parameter names.booleanvoidsetConfigurationContext(SessionInterface iSession, MetaModel sourceMM, MetaModel targetMM, ConfigurationItemIF context) Set the configuration context of this configurable item.toString()Methods inherited from class de.mid.innovator.m2msdk.model.transformation.ConfigurableItem
checkConstraints, checkConstraints, getBaseItem, getConfigurableItems, getId, getName, getParentItem, getParentItem, setBaseItem, setConfigurationTag, setId, setParent
-
Constructor Details
-
ExtensionGroup
public ExtensionGroup()
-
-
Method Details
-
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 classConfigurableItem- 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 iItem) throws M2MException, RemoteException Description copied from interface:ConfigurableItemIFGet the list of all acceptable parameter names.- Specified by:
getKnownParametersin interfaceConfigurableItemIF- Overrides:
getKnownParametersin classConfigurableItem- Parameters:
me- mapping element, maybe nulliItem- configuration item, maybe null- Returns:
- list of parameter names
- Throws:
M2MException- generic exceptionRemoteException- error in communicationRemoteException- exception from remote execution
-
execute
public void execute(ExtensionStoreElements extensionStoreElements) throws M2MException, RemoteException Execute the statements of the group.- Parameters:
extensionStoreElements- all stores with all belonging mapping elements- Throws:
M2MExceptionRemoteException
-
toString
- Overrides:
toStringin classConfigurableItem
-
getConfigurationTag
Description copied from interface:ConfigurableItemIFGet the type of the configurable item. The type defines the role that the item plays in the execution.- Specified by:
getConfigurationTagin interfaceConfigurableItemIF- Overrides:
getConfigurationTagin classConfigurableItem- Returns:
- type of the item
-
getItem
Description copied from interface:ConfigurableItemIFGet owned item with this identifier.- Specified by:
getItemin interfaceConfigurableItemIF- Overrides:
getItemin classConfigurableItem- Parameters:
iId- identifier of the item, maybe the identifier of an owned element- Returns:
- item if found, else null
-
getExtensionTriggerElementTypes
-
isExtensionTriggered
public boolean isExtensionTriggered()
-