Interface SolutionIF
- All Superinterfaces:
ConfigurableItemIF,IdentifierAble,Serializable
- All Known Subinterfaces:
FunctionalVariationPointIF,ModelAnchorIF
- All Known Implementing Classes:
AddToStore,Error,MapCompartmentVisibility,MapEdgePositions,MapTextPosition,ModelAnchor,ModelAnchorCustomNavigation,ModelAnchorInnovator,ModelAnchorInnovatorAbsolutePath,ModelAnchorInnovatorAssociation,ModelAnchorInnovatorAssociationEnd,ModelAnchorInnovatorCustomNavigation,ModelAnchorInnovatorSourceTarget,ModelAnchorInnovatorUri,ModelAnchorSelf,ModelAnchorSubStep,NullTransform,PatternProductionError,PatternProductionSortOrderInnovator,RemoveFromStore,SimpleTransform
A solution can resolve a conflict.
- Version:
- 11.3.1
- Author:
- jmback
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(FVPMode iFVPMode, MappingElementList source, MappingElementList target, FunctionalVariationPointChangeVectors changed) Execute a solution for a list of sources and targets in the given mode.Description of the result of the solution.getTargetValue(Conflict conflict) Value of the result of the solution.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, setId
-
Method Details
-
execute
void execute(FVPMode iFVPMode, MappingElementList source, MappingElementList target, FunctionalVariationPointChangeVectors changed) throws M2MException, RemoteException Execute a solution for a list of sources and targets in the given mode. This does not necessarily mean, that all sources are read and all targets are modified!- Parameters:
iFVPMode- mode of executionsource- source elementstarget- target elementschanged- protocol changes- Throws:
M2MException- an exception occurredRemoteException
-
getTargetDescription
String getTargetDescription()Description of the result of the solution. This maybe the name of the modified property.- Returns:
- Description of the target.
-
getTargetValue
Value of the result of the solution. This maybe the value of the modified property.- Parameters:
conflict- Conflict for which the value of the target is evaluated- Returns:
- Value of the target.
- Throws:
M2MExceptionRemoteException
-