org.omg.uml.foundation.core
Interface Constraint

All Superinterfaces:
Element, ModelElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject

public interface Constraint
extends ModelElement

Constraint object instance interface.


Method Summary
 BooleanExpression getBody()
          Returns the value of attribute body.
 List getConstrainedElement()
          Returns the value of reference constrainedElement.
 void setBody(BooleanExpression newValue)
          Sets the value of body attribute.
 
Methods inherited from interface org.omg.uml.foundation.core.ModelElement
getClientDependency, getComment, getConstraint, getName, getNamespace, getSourceFlow, getStereotype, getTaggedValue, getTargetFlow, getTemplateParameter, getVisibility, isSpecification, setName, setNamespace, setSpecification, setVisibility
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getBody

public BooleanExpression getBody()
Returns the value of attribute body.

Returns:
Value of attribute body.

setBody

public void setBody(BooleanExpression newValue)
Sets the value of body attribute. See getBody() for description on the attribute.

Parameters:
newValue - New value to be set.

getConstrainedElement

public List getConstrainedElement()
Returns the value of reference constrainedElement.

Returns:
Value of reference constrainedElement.