uci.uml.Foundation.Core
Class Constraint

java.lang.Object
  |
  +--uci.uml.Foundation.Core.ElementImpl
        |
        +--uci.uml.Foundation.Core.ModelElementImpl
              |
              +--uci.uml.Foundation.Core.Constraint

public class Constraint
extends ModelElementImpl

By default, Constraints are in the Namespace of their constrained ModelElement or constrained Stereotype

See Also:
Serialized Form

Field Summary
 BooleanExpression _body
           
 
Fields inherited from class uci.uml.Foundation.Core.ModelElementImpl
_behavior, _collaboration, _constraint, _elementOwnership, _elementReference, _provision, _requirement, _stereotype, _taggedValue, _template, _templateParameter, MAX_STEREOTYPE
 
Fields inherited from class uci.uml.Foundation.Core.ElementImpl
_characteristic, _classification, _highlight, _name, _propertyListeners, _staticListener, _taggedValue, _vetoListeners, elementID
 
Constructor Summary
Constraint()
           
Constraint(Name name)
           
Constraint(Name name, String body)
           
Constraint(Name name, String lang, String body)
           
Constraint(String nameStr)
           
Constraint(String nameStr, String body)
           
Constraint(String nameStr, String lang, String body)
           
 
Method Summary
 BooleanExpression getBody()
           
 void setBody(BooleanExpression x)
           
 
Methods inherited from class uci.uml.Foundation.Core.ModelElementImpl
addBehavior, addConstraint, addElementReference, addProvision, addRequirement, addStereotype, addTemplateParameter, alsoTrash, containsStereotype, dbgStereotypes, dbgTaggedValues, getBehavior, getConstraint, getElementOwnership, getElementReference, getNamespace, getProvision, getRequirement, getStereotype, getTemplate, getTemplateParameter, getVisibility, isLegalXMI, isNotLegalXMI, prepareForTrash, recoverFromTrash, removeBehavior, removeConstraint, removeElementReference, removeProvision, removeRequirement, removeStereotype, removeTemplateParameter, setBehavior, setConstraint, setElementOwnership, setElementReference, setNamespace, setProvision, setRequirement, setStereotype, setTemplate, setTemplateParameter, setVisibility
 
Methods inherited from class uci.uml.Foundation.Core.ElementImpl
addCharacteristic, addPropertyChangeListener, addTaggedValue, addVetoableChangeListener, dbgString, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChangeNoCritique, firePropertyChangeNoCritique, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChangeNoCompare, getCharacteristic, getClassification, getElementCount, getHighlight, getId, getName, getNamedProperty, getOCLTypeStr, getTaggedValue, getVetoListeners, newElementID, removeCharacteristic, removePropertyChangeListener, removeTaggedValue, removeVetoableChangeListener, setCharacteristic, setClassification, setElementCount, setHighlight, setId, setName, setName, setStaticChangeListener, setTaggedValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_body

public BooleanExpression _body
Constructor Detail

Constraint

public Constraint()

Constraint

public Constraint(Name name)

Constraint

public Constraint(String nameStr)

Constraint

public Constraint(Name name,
                  String body)

Constraint

public Constraint(String nameStr,
                  String body)

Constraint

public Constraint(String nameStr,
                  String lang,
                  String body)

Constraint

public Constraint(Name name,
                  String lang,
                  String body)
Method Detail

getBody

public BooleanExpression getBody()

setBody

public void setBody(BooleanExpression x)