Class FunctionalVariationPointGroup
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.ConfigurableItem
de.mid.innovator.m2msdk.model.transformation.variationPoint.FunctionalVariationPointGroup
- All Implemented Interfaces:
ConfigurableItemIF,IdentifierAble,Serializable
Group of functional variation points. The functional variation points are all
executed one after the other. There can be descriptive variation points
inside a group; they form together a boolean function. If the function
evaluates to false, the functional variation point group is NOT evaluated.
- Version:
- 10.1.1
- Author:
- jmback
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidevaluateFunctionalVariationPoints(SessionInterface iSession, FVPMode mode, MappingElementIF sourceElement, MappingElementIF targetElement, FunctionalVariationPointChangeVectors ret) Apply the functional variation points to the target element.Get the type of the configurable item.getItem(Identifier iId) Get owned item with this identifier.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.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
-
FunctionalVariationPointGroup
public FunctionalVariationPointGroup()
-
-
Method Details
-
evaluateFunctionalVariationPoints
public void evaluateFunctionalVariationPoints(SessionInterface iSession, FVPMode mode, MappingElementIF sourceElement, MappingElementIF targetElement, FunctionalVariationPointChangeVectors ret) throws M2MException, RemoteException Apply the functional variation points to the target element.- Parameters:
iSession- Sessionmode- Mode how the functional variation points should be appliedsourceElement- Source elementtargetElement- List of target elementsret- Vector of functional variation points which have caused or will cause changes- Throws:
M2MException- errorRemoteException
-
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
-
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
-
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 classConfigurableItem- 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
-