uci.uml.Foundation.Core
Class Dependency

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

public class Dependency
extends ModelElementImpl

By default a Dependency is in the Namespace of its Supplier.

See Also:
Serialized Form

Field Summary
 Vector _client
           
 String _description
           
 Dependency _owningDependency
           
 Vector _subDependency
           
 Vector _supplier
           
 
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
Dependency()
           
Dependency(ModelElement aSupplier, ModelElement aClient)
           
Dependency(Name name)
           
Dependency(String nameStr)
           
 
Method Summary
 void addClient(ModelElement x)
           
 void addSubDependency(Dependency x)
           
 void addSupplier(ModelElement x)
           
 Vector getClient()
           
 String getDescription()
           
 Name getName()
           
 Dependency getOwningDependency()
           
 Vector getSubDependency()
           
 Vector getSupplier()
           
 Object prepareForTrash()
           
 void recoverFromTrash(Object momento)
           
 void removeClient(ModelElement x)
           
 void removeSubDependency(Dependency x)
           
 void removeSupplier(ModelElement x)
           
 void setClient(Vector x)
           
 void setDescription(String x)
           
 void setOwningDependency(Dependency x)
           
 void setSubDependency(Vector x)
           
 void setSupplier(Vector 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, 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, 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

_description

public String _description

_supplier

public Vector _supplier

_client

public Vector _client

_subDependency

public Vector _subDependency

_owningDependency

public Dependency _owningDependency
Constructor Detail

Dependency

public Dependency()

Dependency

public Dependency(Name name)

Dependency

public Dependency(String nameStr)

Dependency

public Dependency(ModelElement aSupplier,
                  ModelElement aClient)
Method Detail

getName

public Name getName()
Overrides:
getName in class ElementImpl

getDescription

public String getDescription()

setDescription

public void setDescription(String x)
                    throws PropertyVetoException

getSupplier

public Vector getSupplier()

setSupplier

public void setSupplier(Vector x)
                 throws PropertyVetoException

addSupplier

public void addSupplier(ModelElement x)
                 throws PropertyVetoException

removeSupplier

public void removeSupplier(ModelElement x)
                    throws PropertyVetoException

getClient

public Vector getClient()

setClient

public void setClient(Vector x)
               throws PropertyVetoException

addClient

public void addClient(ModelElement x)
               throws PropertyVetoException

removeClient

public void removeClient(ModelElement x)
                  throws PropertyVetoException

getSubDependency

public Vector getSubDependency()

setSubDependency

public void setSubDependency(Vector x)
                      throws PropertyVetoException

addSubDependency

public void addSubDependency(Dependency x)
                      throws PropertyVetoException

removeSubDependency

public void removeSubDependency(Dependency x)
                         throws PropertyVetoException

getOwningDependency

public Dependency getOwningDependency()

setOwningDependency

public void setOwningDependency(Dependency x)
                         throws PropertyVetoException

prepareForTrash

public Object prepareForTrash()
                       throws PropertyVetoException
Overrides:
prepareForTrash in class ModelElementImpl

recoverFromTrash

public void recoverFromTrash(Object momento)
                      throws PropertyVetoException
Overrides:
recoverFromTrash in class ModelElementImpl