Package org.eclipse.epf.uma
Interface Constraint
- All Superinterfaces:
Element
,org.eclipse.emf.ecore.EObject
,MethodElement
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,PackageableElement
- All Known Implementing Classes:
ConstraintImpl
public interface Constraint extends MethodElement
A representation of the model object 'Constraint'.
A Constraint is a Method Element that represents a condition or restriction expressed in natural language text or in a machine readable language for the purpose of declaring some of the semantics of a Method Element.
The following features are supported:
- See Also:
UmaPackage.getConstraint()
-
Method Summary
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.epf.uma.MethodElement
getBriefDescription, getGuid, getKind, getMethodElementProperty, getOrderingGuide, getOwnedRules, getPresentationName, getSuppressed, setBriefDescription, setGuid, setOrderingGuide, setPresentationName, setSuppressed
Methods inherited from interface org.eclipse.epf.uma.NamedElement
getName, setName
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getBody
java.lang.String getBody()Returns the value of the 'Body' attribute. The default value is""
. This attribute stores the definition of the constraint.- Returns:
- the value of the 'Body' attribute.
- See Also:
setBody(String)
,UmaPackage.getConstraint_Body()
-
setBody
void setBody(java.lang.String value)Sets the value of the 'Body
' attribute.- Parameters:
value
- the new value of the 'Body' attribute.- See Also:
getBody()
-