Interface Constraint
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,IdentifiedElement
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
ConstraintImpl
public interface Constraint extends IdentifiedElement
A representation of the model object 'Constraint'. A constraint which determines whether an operation can be executed with a setting of parametersThe following features are supported:
- See Also:
DeclarationPackage.getConstraint()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Operation
getOperation()
Returns the value of the 'Operation' container reference.Parameter
getRestricts()
Returns the value of the 'Restricts' reference.void
setOperation(Operation value)
Sets the value of the 'Operation
' container reference.void
setRestricts(Parameter value)
Sets the value of the 'Restricts
' reference.-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.edapt.declaration.IdentifiedElement
getDescription, getName, setDescription, setName
-
-
-
-
Method Detail
-
getOperation
Operation getOperation()
Returns the value of the 'Operation' container reference. It is bidirectional and its opposite is 'Constraints
'.If the meaning of the 'Operation' container reference isn't clear, there really should be more of a description here...
Operation to which the parameter belongs- Returns:
- the value of the 'Operation' container reference.
- See Also:
setOperation(Operation)
,DeclarationPackage.getConstraint_Operation()
,Operation.getConstraints()
-
setOperation
void setOperation(Operation value)
Sets the value of the 'Operation
' container reference.- Parameters:
value
- the new value of the 'Operation' container reference.- See Also:
getOperation()
-
getRestricts
Parameter getRestricts()
Returns the value of the 'Restricts' reference.If the meaning of the 'Restricts' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Restricts' reference.
- See Also:
setRestricts(Parameter)
,DeclarationPackage.getConstraint_Restricts()
-
setRestricts
void setRestricts(Parameter value)
Sets the value of the 'Restricts
' reference.- Parameters:
value
- the new value of the 'Restricts' reference.- See Also:
getRestricts()
-
-