Interface FunctionalVariationPointIF
- All Superinterfaces:
ConfigurableItemIF,IdentifierAble,Serializable,SolutionIF
- All Known Implementing Classes:
AddToStore,Error,MapCompartmentVisibility,MapEdgePositions,MapTextPosition,NullTransform,PatternProductionError,PatternProductionSortOrderInnovator,RemoveFromStore,SimpleTransform
Functional variation point. Generally, a functional variation point describes
a detail of a pattern template. Normally it describes the transfer of a
property from source pattern to target pattern, in other cases an arbitrary
transformation function. So, the target pattern generated by the pattern
template is nearly the same, except of this variation. A variation is
necessary, since else each pattern generated by a pattern template would be
identical.
- Version:
- 10.1.1
- Author:
- jmback
-
Method Summary
Modifier and TypeMethodDescriptionvoidevaluate(FVPMode iMode, MappingElementIF sourceElement, MappingElementIF targetElement, FunctionalVariationPointChangeVectors changed) Execute this functional variation point from source to target in the given modegetNew(MappingElementIF source) Get new value of property.getOld(MappingElementIF target) Get old value of property of target.Methods 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, setIdMethods inherited from interface de.mid.innovator.m2msdk.model.transformation.conflict.SolutionIF
execute, getTargetDescription, getTargetValue
-
Method Details
-
evaluate
void evaluate(FVPMode iMode, MappingElementIF sourceElement, MappingElementIF targetElement, FunctionalVariationPointChangeVectors changed) throws M2MException, RemoteException Execute this functional variation point from source to target in the given mode- Parameters:
iMode- the mode of executionsourceElement- the source model elementtargetElement- the target model elementchanged- change vector modified only if there are changes- Throws:
M2MException- generic exceptionRemoteException- exception from remote execution
-
getOld
Get old value of property of target.- Parameters:
target- Model element in target model to be modified.- Returns:
- value before modification
- Throws:
M2MException- generic exceptionRemoteException- exception from remote executionSevereException- non critical errorAbortException- critical errorRemoteException
-
getNew
Get new value of property.- Parameters:
source- Model element in source model causing the modification- Returns:
- value after modification
- Throws:
SevereException- non critical errorAbortException- critical errorRemoteExceptionM2MException- generic exceptionRemoteException- exception from remote execution
-