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
serialVersionUID
public static final long serialVersionUID
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