|
||||||||||
| 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
A namespace is a part of a model in which each name has a
unique meaning. In the metamodel a Namespace is a
ModelElement that can own other ModelElements,
like Associations and Classifiers.
The name of each owned ModelElement must be unique
within the Namespace. Moreover, each contained
ModelElement is owned by at most one Namespace.
The concrete subclasses of Namespace have additional
constraints on which kind of elements may be contained.
Namespace is an abstract metaclass.
| Constructor Summary | |
Namespace()
Constructor. |
|
| Method Summary | |
void |
add(ModelElement elem)
Adds an element into the Dictionary. |
java.util.Vector |
allContents()
Gets a set of identifier of all the elements contained in this namespace and in its contained namespaces and so on. |
protected java.util.Vector |
allContents(ModelElement elem)
Gets a set of identifier of all the elements contained in this namespace and in its contained namespaces and so on. |
boolean |
check()
Checks if well-formedness rules are respected in this model element. |
void |
getInfo()
Gets info on Namespace. |
java.util.Vector |
getOwnedElement()
Gets the set of owned elements identifiers. |
java.util.Vector |
subContents()
Gets a set of identifier of all the elements contained in the sub-namespaces of this namespace. |
| 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 Namespace()
| Method Detail |
public void add(ModelElement elem)
add in class ModelElementDictionarypublic java.util.Vector getOwnedElement()
public java.util.Vector subContents()
protected java.util.Vector allContents(ModelElement elem)
public java.util.Vector allContents()
public boolean check()
check in class ModelElementpublic void getInfo()
getInfo in class ModelElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||