Interface ConstraintIF
- All Superinterfaces:
ConfigurableItemIF,IdentifierAble,Serializable
- All Known Implementing Classes:
Constraint
A constraint constraints the owning configuration item at runtime.
If the condition of the constraint evaluates to FALSE, the owning item is NOT executed.
If there are several constraints all of them have to be true to execute the owning item.
- Version:
- 11.5.2
- Author:
- jmback
-
Method Summary
Modifier and TypeMethodDescriptionbooleanevaluate(MappingElementIF element, ExpressionContext context) Evaluate constraint to true or false.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
-
evaluate
boolean evaluate(MappingElementIF element, ExpressionContext context) throws RemoteException, M2MException Evaluate constraint to true or false.- Parameters:
context- context with source and target element- Returns:
- true, if constraint is true
- Throws:
M2MExceptionRemoteException
-