|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.armax.ax.devtools.uml.AXmodelElementAbstract
de.armax.ax.devtools.uml.AXpackageBundle
This class represents an implementation of AXpackage used by model bundles
(AXmodelBundle
).
It is used to regroup packages having the same name from different models.
Field Summary |
Fields inherited from interface de.armax.ax.devtools.uml.AXpackage |
INTERFACE |
Constructor Summary | |
AXpackageBundle(AXmodelBundle bundle,
AXpackage[] includedPackages)
Constructor for a given array of packages. |
Method Summary | |
boolean |
existTaggedValue(java.lang.String tag)
Check weather a tagged value with the given tag name exists. |
AXmodel |
getModel()
Get the model containing this element. |
java.lang.String |
getName()
Get the name for the model element. |
java.lang.String |
getNamespaceName()
Get the namespace name for this model element. |
java.util.List |
getOwnedElements()
Get all owned elements of this package. |
AXpackage |
getParent()
Get the parent package of this package. |
java.lang.Object |
getRealElement()
Get the real element, this element wraps. |
java.util.Collection |
getRealOwnedElements()
Get the owned elements of the object this package wraps. |
java.lang.String |
getStereotype()
Get the stereotype of this element. |
java.util.List |
getSubPackages()
Get all packages this package contains. |
java.lang.String |
getTaggedValue(java.lang.String tag)
Get a tagged value for a given tag name. |
java.lang.String |
getTaggedValue(java.lang.String tag,
java.lang.String dflt)
Get a tagged value for a given tag name. |
java.util.List |
getTaggedValues(java.lang.String tag)
Get all tagged values for a given tag name. |
java.util.List |
getTaggedValueTags()
Get all existing tag names of tagged values for this element. |
boolean |
isRootPackage()
Check weather this is a root package. |
Methods inherited from class de.armax.ax.devtools.uml.AXmodelElementAbstract |
equals, getNameForCollectionDefine, getNameForCollectionMethod, getNameForCollectionVariable, getNameForDefine, getNameForMethod, getNameForVariable, getPackage, getQualifiedName, getSufficientlyQualifiedName, getSufficientlyQualifiedName, getWellKnownPackages, hasStereotype, isSameNamespace, isSameNamespace, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.armax.ax.devtools.uml.AXmodelElement |
equals, getNameForCollectionDefine, getNameForCollectionMethod, getNameForCollectionVariable, getNameForDefine, getNameForMethod, getNameForVariable, getPackage, getQualifiedName, getSufficientlyQualifiedName, getSufficientlyQualifiedName, getWellKnownPackages, hasStereotype, isSameNamespace, isSameNamespace |
Constructor Detail |
public AXpackageBundle(AXmodelBundle bundle, AXpackage[] includedPackages)
Constructor for a given array of packages.
bundle
- includedPackages
- Method Detail |
public java.lang.String getName()
AXmodelElement
Get the name for the model element.
getName
in interface AXmodelElement
getName
in class AXmodelElementAbstract
public java.lang.String getNamespaceName()
AXmodelElement
Get the namespace name for this model element.
This includes the names of all nested UML namespaces separated by dots (as it is well known for java packages).
getNamespaceName
in interface AXmodelElement
getNamespaceName
in class AXmodelElementAbstract
public java.lang.String getTaggedValue(java.lang.String tag)
AXmodelElement
Get a tagged value for a given tag name.
If more than one tagged value with the same tag name exist for this model element, the first one is returned
getTaggedValue
in interface AXmodelElement
getTaggedValue
in class AXmodelElementAbstract
public java.lang.String getTaggedValue(java.lang.String tag, java.lang.String dflt)
AXmodelElement
Get a tagged value for a given tag name.
If no such tagged value exists, the default value is returned.
If more than one tagged value with the same tag name exist for this model element, the first one is returned
getTaggedValue
in interface AXmodelElement
getTaggedValue
in class AXmodelElementAbstract
public java.util.List getTaggedValues(java.lang.String tag)
AXmodelElement
Get all tagged values for a given tag name.
getTaggedValues
in interface AXmodelElement
getTaggedValues
in class AXmodelElementAbstract
public java.util.List getTaggedValueTags()
AXmodelElement
Get all existing tag names of tagged values for this element.
getTaggedValueTags
in interface AXmodelElement
getTaggedValueTags
in class AXmodelElementAbstract
public boolean existTaggedValue(java.lang.String tag)
AXmodelElement
Check weather a tagged value with the given tag name exists.
existTaggedValue
in interface AXmodelElement
existTaggedValue
in class AXmodelElementAbstract
public AXmodel getModel()
AXmodelElement
Get the model containing this element.
getModel
in interface AXmodelElement
getModel
in class AXmodelElementAbstract
public java.lang.Object getRealElement()
AXmodelElement
Get the real element, this element wraps.
getRealElement
in interface AXmodelElement
getRealElement
in class AXmodelElementAbstract
public java.lang.String getStereotype()
AXmodelElement
Get the stereotype of this element.
getStereotype
in interface AXmodelElement
getStereotype
in class AXmodelElementAbstract
public boolean isRootPackage()
AXpackage
Check weather this is a root package.
A package is considered to be a root package, if there is no other package except the model itself that contains this package (i.e. the namespace is null or empty). The return value of this method for the model package itself is not determined.
isRootPackage
in interface AXpackage
public AXpackage getParent()
AXpackage
Get the parent package of this package.
This should never be null except for the model itself. The parent package of root packages is the model.
getParent
in interface AXpackage
public java.util.List getSubPackages()
AXpackage
Get all packages this package contains.
getSubPackages
in interface AXpackage
public java.util.List getOwnedElements()
AXpackage
Get all owned elements of this package.
getOwnedElements
in interface AXpackage
AXmodelElement
s contained in this package.public java.util.Collection getRealOwnedElements()
AXpackage
Get the owned elements of the object this package wraps.
getRealOwnedElements
in interface AXpackage
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |