|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--UML.Semantic.Foundation.Core.ModelElement
|
+--UML.Semantic.Foundation.Core.Namespace
|
+--UML.Semantic.Foundation.Core.GeneralizableElement
A generalizable element is a model element that may
participate in a generalization relationship.
In the metamodel a GeneralizableElement can be a
generalization of other GeneralizableElements, i.e.
all Features defined in and all ModelElements
contained in the ancestors are also present in the
GeneralizableElement. GeneralizableElement
is an abstract metaclass.
| Constructor Summary | |
GeneralizableElement()
Constructor. |
|
| Method Summary | |
void |
add(Reference ref)
Adds an element reference to this element. |
java.util.Vector |
allOwnedElement()
Gets the set of all the elements owned by this element, including inherited ones. |
java.util.Vector |
allSupertype()
Gets a set of identifiers of all supertypes of this element, including inherited ones. |
boolean |
check()
Checks if well-formedness rules are respected in this model element. |
java.util.Vector |
getGeneralization()
Gets the set of generalizations which this element participates in. |
void |
getInfo()
Gets info on GeneralizableElement. |
boolean |
getIsAbstract()
Gets the value of the isAbstract attribute. |
boolean |
getIsLeaf()
Gets the value of the isLeaf attribute. |
boolean |
getIsRoot()
Gets the value of the isRoot attribute. |
java.util.Vector |
getSpecialization()
Gets the set of specializations which this element participates in. |
java.util.Vector |
getSupertype()
Gets a set of identifiers of direct supertypes of this element. |
java.util.Vector |
inheritedOwnedElement()
Gets the set of identifiers of the inherited OwnedElements of the GeneralizableElement itself. |
java.util.Vector |
inheritedSupertype()
Gets a set of identifiers of inherited supertypes of this element. |
void |
setIsAbstract(java.lang.String mode)
Sets the value of the isAbstract attribute to the
given true or false value. |
void |
setIsLeaf(java.lang.String mode)
Sets the value of the isLeaf attribute to the
given true or false value. |
void |
setIsRoot(java.lang.String mode)
Sets the value of the isRoot attribute to the
given true or false value. |
| Methods inherited from class UML.Semantic.Foundation.Core.Namespace |
add, allContents, allContents, getOwnedElement, subContents |
| Methods inherited from class UML.Semantic.Foundation.Core.ModelElement |
add, getBindingList, getConstraintList, getElementType, getErrors, getHref, getId, getIdentification, getIdref, getIndex, getIsOwned, getLabel, getLocator, getName, getNamespace, getNamespaceId, getStereotype, getTemplate, getTemplateParameterList, getTitle, getUuid, getUuidref, getVisibility, getVisibilitySymbol, getWarnings, setElementType, setErrors, setHref, setId, setIdref, setIndex, setIsOwned, setLabel, setName, setNamespace, setTemplate, setTitle, setUuid, setUuidref, setVisibility, setWarnings |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GeneralizableElement()
| Method Detail |
public void setIsAbstract(java.lang.String mode)
isAbstract attribute to the
given true or false value.
public boolean getIsAbstract()
isAbstract attribute.
public void setIsLeaf(java.lang.String mode)
isLeaf attribute to the
given true or false value.
public boolean getIsLeaf()
isLeaf attribute.
public void setIsRoot(java.lang.String mode)
isRoot attribute to the
given true or false value.
public boolean getIsRoot()
isRoot attribute.
public void add(Reference ref)
public java.util.Vector getGeneralization()
public java.util.Vector getSpecialization()
public java.util.Vector getSupertype()
public java.util.Vector inheritedSupertype()
public java.util.Vector allSupertype()
public java.util.Vector inheritedOwnedElement()
public java.util.Vector allOwnedElement()
public boolean check()
check in class Namespacepublic void getInfo()
getInfo in class Namespace
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||