de.armax.ax.devtools.uml
Interface AXpackage

All Superinterfaces:
AXmodelElement
All Known Subinterfaces:
AXmodel
All Known Implementing Classes:
AXmodelBundle, AXmodelMdrImpl, AXmodelNsumlImpl, AXpackageBundle, AXpackageMdrImpl, AXpackageNsumlImpl

public interface AXpackage
extends AXmodelElement

Metamodel for an UML package.

Author:
Peter Wieland, ARMAX mindware GmbH

Field Summary
static java.lang.String INTERFACE
          The qualified name of this interface.
 
Method Summary
 java.util.List getOwnedElements()
          Get all owned elements of this package.
 AXpackage getParent()
          Get the parent package of this package.
 java.util.Collection getRealOwnedElements()
          Get the owned elements of the object this package wraps.
 java.util.List getSubPackages()
          Get all packages this package contains.
 boolean isRootPackage()
          Check weather this is a root package.
 
Methods inherited from interface de.armax.ax.devtools.uml.AXmodelElement
equals, existTaggedValue, getModel, getName, getNameForCollectionDefine, getNameForCollectionMethod, getNameForCollectionVariable, getNameForDefine, getNameForMethod, getNameForVariable, getNamespaceName, getPackage, getQualifiedName, getRealElement, getStereotype, getSufficientlyQualifiedName, getSufficientlyQualifiedName, getTaggedValue, getTaggedValue, getTaggedValues, getTaggedValueTags, getWellKnownPackages, hasStereotype, isSameNamespace, isSameNamespace
 

Field Detail

INTERFACE

public static final java.lang.String INTERFACE

The qualified name of this interface.

See Also:
Constant Field Values
Method Detail

isRootPackage

public boolean isRootPackage()

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.


getParent

public AXpackage getParent()

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.


getSubPackages

public java.util.List getSubPackages()

Get all packages this package contains.


getOwnedElements

public java.util.List getOwnedElements()

Get all owned elements of this package.

Returns:
a list of AXmodelElements contained in this package.

getRealOwnedElements

public java.util.Collection getRealOwnedElements()

Get the owned elements of the object this package wraps.



Copyright © 2003 ARMAX mindware GmbH. All Rights Reserved.