uci.uml.Foundation.Core
Class GeneralizableElementImpl

java.lang.Object
  |
  +--uci.uml.Foundation.Core.ElementImpl
        |
        +--uci.uml.Foundation.Core.ModelElementImpl
              |
              +--uci.uml.Foundation.Core.NamespaceImpl
                    |
                    +--uci.uml.Foundation.Core.GeneralizableElementImpl
Direct Known Subclasses:
Association, Classifier, Model, Signal, Stereotype

public class GeneralizableElementImpl
extends NamespaceImpl
implements GeneralizableElement

See Also:
Serialized Form

Field Summary
 Vector _generalization
           
 boolean _isAbstract
           
 boolean _isLeaf
           
 boolean _isRoot
           
 Vector _specialization
           
 
Fields inherited from class uci.uml.Foundation.Core.NamespaceImpl
_ownedElement
 
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
GeneralizableElementImpl()
           
GeneralizableElementImpl(Name name)
           
GeneralizableElementImpl(String nameStr)
           
 
Method Summary
 void addGeneralization(Generalization x)
           
 void addSpecialization(Generalization x)
           
 Vector alsoTrash()
           
 Vector getGeneralization()
           
 boolean getIsAbstract()
           
 boolean getIsLeaf()
           
 boolean getIsRoot()
           
 Vector getSpecialization()
           
 void removeGeneralization(Generalization x)
           
 void removeSpecialization(Generalization x)
           
 void setGeneralization(Vector x)
           
 void setIsAbstract(boolean x)
           
 void setIsLeaf(boolean x)
           
 void setIsRoot(boolean x)
           
 void setSpecialization(Vector x)
           
 
Methods inherited from class uci.uml.Foundation.Core.NamespaceImpl
addOwnedElement, addPrivateOwnedElement, addProtectedOwnedElement, addPublicOwnedElement, addUnspecOwnedElement, contains, contains, containsPublic, elementOwnershipFor, findElementNamed, getModelElements, getOwnedElement, prepareForTrash, recoverFromTrash, removeOwnedElement, setOwnedElement
 
Methods inherited from class uci.uml.Foundation.Core.ModelElementImpl
addBehavior, addConstraint, addElementReference, addProvision, addRequirement, addStereotype, addTemplateParameter, 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, 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

_isRoot

public boolean _isRoot

_isLeaf

public boolean _isLeaf

_isAbstract

public boolean _isAbstract

_generalization

public Vector _generalization

_specialization

public Vector _specialization
Constructor Detail

GeneralizableElementImpl

public GeneralizableElementImpl()

GeneralizableElementImpl

public GeneralizableElementImpl(Name name)

GeneralizableElementImpl

public GeneralizableElementImpl(String nameStr)
Method Detail

getIsRoot

public boolean getIsRoot()
Specified by:
getIsRoot in interface GeneralizableElement

setIsRoot

public void setIsRoot(boolean x)
               throws PropertyVetoException
Specified by:
setIsRoot in interface GeneralizableElement

getIsLeaf

public boolean getIsLeaf()
Specified by:
getIsLeaf in interface GeneralizableElement

setIsLeaf

public void setIsLeaf(boolean x)
               throws PropertyVetoException
Specified by:
setIsLeaf in interface GeneralizableElement

getIsAbstract

public boolean getIsAbstract()
Specified by:
getIsAbstract in interface GeneralizableElement

setIsAbstract

public void setIsAbstract(boolean x)
                   throws PropertyVetoException
Specified by:
setIsAbstract in interface GeneralizableElement

getGeneralization

public Vector getGeneralization()
Specified by:
getGeneralization in interface GeneralizableElement

setGeneralization

public void setGeneralization(Vector x)
                       throws PropertyVetoException
Specified by:
setGeneralization in interface GeneralizableElement

addGeneralization

public void addGeneralization(Generalization x)
                       throws PropertyVetoException
Specified by:
addGeneralization in interface GeneralizableElement

removeGeneralization

public void removeGeneralization(Generalization x)
                          throws PropertyVetoException
Specified by:
removeGeneralization in interface GeneralizableElement

getSpecialization

public Vector getSpecialization()
Specified by:
getSpecialization in interface GeneralizableElement

setSpecialization

public void setSpecialization(Vector x)
                       throws PropertyVetoException
Specified by:
setSpecialization in interface GeneralizableElement

addSpecialization

public void addSpecialization(Generalization x)
                       throws PropertyVetoException
Specified by:
addSpecialization in interface GeneralizableElement

removeSpecialization

public void removeSpecialization(Generalization x)
                          throws PropertyVetoException
Specified by:
removeSpecialization in interface GeneralizableElement

alsoTrash

public Vector alsoTrash()
Overrides:
alsoTrash in class ModelElementImpl