uci.uml.Foundation.Core
Interface ModelElement

All Known Subinterfaces:
GeneralizableElement, IAssociation, MMPackage, Namespace, Request
All Known Implementing Classes:
ModelElementImpl

public abstract interface ModelElement
extends Element, Serializable

Since Java does not allow multiple inheritiance, and some classes in the UML meta-model do inherit from ModelElement and another class, I have coded ModelElement as an interface.

See Also:
ModelElementImpl

Field Summary
static long serialVersionUID
           
 
Fields inherited from class uci.uml.Foundation.Core.Element
serialVersionUID
 
Fields inherited from class java.io.Serializable
serialVersionUID
 
Fields inherited from class java.io.Serializable
serialVersionUID
 
Method Summary
 void addBehavior(StateMachine x)
           
 void addProvision(Dependency x)
           
 void addRequirement(Dependency x)
           
 void addVetoableChangeListener(VetoableChangeListener listener)
           
 Vector getBehavior()
           
 Vector getConstraint()
           
 ElementOwnership getElementOwnership()
           
 Vector getElementReference()
           
 Namespace getNamespace()
           
 String getOCLTypeStr()
           
 Vector getProvision()
           
 Vector getRequirement()
           
 Vector getStereotype()
           
 ModelElement getTemplate()
           
 Vector getTemplateParameter()
           
 Object prepareForTrash()
           
 void recoverFromTrash(Object momento)
           
 void removeBehavior(StateMachine x)
           
 void removeProvision(Dependency x)
           
 void removeRequirement(Dependency x)
           
 void removeVetoableChangeListener(VetoableChangeListener listener)
           
 void setBehavior(Vector x)
           
 void setConstraint(Vector x)
           
 void setElementOwnership(ElementOwnership x)
           
 void setElementReference(Vector x)
           
 void setNamespace(Namespace x)
           
 void setProvision(Vector x)
           
 void setRequirement(Vector x)
           
 void setStereotype(Vector x)
           
 void setTemplate(ModelElement x)
           
 void setTemplateParameter(Vector x)
           
 
Methods inherited from interface uci.uml.Foundation.Core.Element
getCharacteristic, getId, getName, getTaggedValue, setCharacteristic, setName, setTaggedValue
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Method Detail

getElementOwnership

public ElementOwnership getElementOwnership()

setElementOwnership

public void setElementOwnership(ElementOwnership x)
                         throws PropertyVetoException

getNamespace

public Namespace getNamespace()

setNamespace

public void setNamespace(Namespace x)
                  throws PropertyVetoException

getConstraint

public Vector getConstraint()

setConstraint

public void setConstraint(Vector x)
                   throws PropertyVetoException

getProvision

public Vector getProvision()

setProvision

public void setProvision(Vector x)
                  throws PropertyVetoException

addProvision

public void addProvision(Dependency x)
                  throws PropertyVetoException

removeProvision

public void removeProvision(Dependency x)
                     throws PropertyVetoException

getRequirement

public Vector getRequirement()

setRequirement

public void setRequirement(Vector x)
                    throws PropertyVetoException

addRequirement

public void addRequirement(Dependency x)
                    throws PropertyVetoException

removeRequirement

public void removeRequirement(Dependency x)
                       throws PropertyVetoException

getTemplateParameter

public Vector getTemplateParameter()

setTemplateParameter

public void setTemplateParameter(Vector x)
                          throws PropertyVetoException

getTemplate

public ModelElement getTemplate()

setTemplate

public void setTemplate(ModelElement x)
                 throws PropertyVetoException

getElementReference

public Vector getElementReference()

setElementReference

public void setElementReference(Vector x)
                         throws PropertyVetoException

getStereotype

public Vector getStereotype()

setStereotype

public void setStereotype(Vector x)
                   throws PropertyVetoException

getBehavior

public Vector getBehavior()

setBehavior

public void setBehavior(Vector x)
                 throws PropertyVetoException

addBehavior

public void addBehavior(StateMachine x)
                 throws PropertyVetoException

removeBehavior

public void removeBehavior(StateMachine x)
                    throws PropertyVetoException

addVetoableChangeListener

public void addVetoableChangeListener(VetoableChangeListener listener)

removeVetoableChangeListener

public void removeVetoableChangeListener(VetoableChangeListener listener)

getOCLTypeStr

public String getOCLTypeStr()

prepareForTrash

public Object prepareForTrash()
                       throws PropertyVetoException

recoverFromTrash

public void recoverFromTrash(Object momento)
                      throws PropertyVetoException