uci.uml.Foundation.Core
Class Attribute

java.lang.Object
  |
  +--uci.uml.Foundation.Core.ElementImpl
        |
        +--uci.uml.Foundation.Core.ModelElementImpl
              |
              +--uci.uml.Foundation.Core.Feature
                    |
                    +--uci.uml.Foundation.Core.StructuralFeature
                          |
                          +--uci.uml.Foundation.Core.Attribute

public class Attribute
extends StructuralFeature

By default, StructuralFeatures are in the same Namespace as the Classifier that owns them.

See Also:
Serialized Form

Field Summary
 Expression _initialValue
           
 
Fields inherited from class uci.uml.Foundation.Core.StructuralFeature
_changeable, _multiplicity, _targetScope, _type
 
Fields inherited from class uci.uml.Foundation.Core.Feature
_owner, _ownerScope, _visibility
 
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
Attribute()
           
Attribute(Name name)
           
Attribute(Name name, Classifier type)
           
Attribute(Name name, Classifier type, Expression init)
           
Attribute(String nameStr)
           
Attribute(String nameStr, Classifier type)
           
Attribute(String nameStr, Classifier type, Expression init)
           
Attribute(String nameStr, Classifier type, String initStr)
           
 
Method Summary
 String dbgString()
           
 Expression getInitialValue()
           
 void setInitialValue(Expression x)
           
 
Methods inherited from class uci.uml.Foundation.Core.StructuralFeature
getChangeable, getMultiplicity, getTargetScope, getType, setChangeable, setMultiplicity, setTargetScope, setType
 
Methods inherited from class uci.uml.Foundation.Core.Feature
fireVetoableChange, getOwner, getOwnerScope, getVisibility, setOwner, setOwnerScope, setVisibility, toString
 
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, isLegalXMI, isNotLegalXMI, prepareForTrash, recoverFromTrash, removeBehavior, removeConstraint, removeElementReference, removeProvision, removeRequirement, removeStereotype, removeTemplateParameter, setBehavior, setConstraint, setElementOwnership, setElementReference, setNamespace, setProvision, setRequirement, setStereotype, setTemplate, setTemplateParameter
 
Methods inherited from class uci.uml.Foundation.Core.ElementImpl
addCharacteristic, addPropertyChangeListener, addTaggedValue, addVetoableChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChangeNoCritique, firePropertyChangeNoCritique, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_initialValue

public Expression _initialValue
Constructor Detail

Attribute

public Attribute()

Attribute

public Attribute(Name name)

Attribute

public Attribute(String nameStr)

Attribute

public Attribute(Name name,
                 Classifier type)

Attribute

public Attribute(String nameStr,
                 Classifier type)

Attribute

public Attribute(Name name,
                 Classifier type,
                 Expression init)

Attribute

public Attribute(String nameStr,
                 Classifier type,
                 Expression init)

Attribute

public Attribute(String nameStr,
                 Classifier type,
                 String initStr)
Method Detail

getInitialValue

public Expression getInitialValue()

setInitialValue

public void setInitialValue(Expression x)
                     throws PropertyVetoException

dbgString

public String dbgString()
Overrides:
dbgString in class ElementImpl