de.armax.ax.devtools.uml.nsuml
Class AXpackageNsumlImpl

java.lang.Object
  extended byde.armax.ax.devtools.uml.AXmodelElementAbstract
      extended byde.armax.ax.devtools.uml.nsuml.AXmodelElementNsumlImpl
          extended byde.armax.ax.devtools.uml.nsuml.AXpackageNsumlImpl
All Implemented Interfaces:
AXmodelElement, AXpackage

public class AXpackageNsumlImpl
extends AXmodelElementNsumlImpl
implements AXpackage

Author:
Peter Wieland, ARMAX mindware GmbH

Field Summary
 
Fields inherited from class de.armax.ax.devtools.uml.nsuml.AXmodelElementNsumlImpl
model
 
Fields inherited from interface de.armax.ax.devtools.uml.AXpackage
INTERFACE
 
Constructor Summary
AXpackageNsumlImpl(ru.novosoft.uml.model_management.MPackage pack, AXmodelNsumlImpl model)
           
 
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.
 java.lang.String toString()
           
 
Methods inherited from class de.armax.ax.devtools.uml.nsuml.AXmodelElementNsumlImpl
existTaggedValue, getModel, getName, getNamespaceName, getRealElement, getStereotype, getTaggedValue, getTaggedValue, getTaggedValues, getTaggedValueTags
 
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
 
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, existTaggedValue, getModel, getName, getNameForCollectionDefine, getNameForCollectionMethod, getNameForCollectionVariable, getNameForDefine, getNameForMethod, getNameForVariable, getNamespaceName, getPackage, getQualifiedName, getRealElement, getStereotype, getSufficientlyQualifiedName, getSufficientlyQualifiedName, getTaggedValue, getTaggedValue, getTaggedValues, getTaggedValueTags, getWellKnownPackages, hasStereotype, isSameNamespace, isSameNamespace
 

Constructor Detail

AXpackageNsumlImpl

public AXpackageNsumlImpl(ru.novosoft.uml.model_management.MPackage pack,
                          AXmodelNsumlImpl model)
Method Detail

isRootPackage

public boolean isRootPackage()
Description copied from interface: 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.

Specified by:
isRootPackage in interface AXpackage

getParent

public AXpackage getParent()
Description copied from interface: 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.

Specified by:
getParent in interface AXpackage

getSubPackages

public java.util.List getSubPackages()
Description copied from interface: AXpackage

Get all packages this package contains.

Specified by:
getSubPackages in interface AXpackage

getOwnedElements

public java.util.List getOwnedElements()
Description copied from interface: AXpackage

Get all owned elements of this package.

Specified by:
getOwnedElements in interface AXpackage
Returns:
a list of AXmodelElements contained in this package.

getRealOwnedElements

public java.util.Collection getRealOwnedElements()
Description copied from interface: AXpackage

Get the owned elements of the object this package wraps.

Specified by:
getRealOwnedElements in interface AXpackage

toString

public java.lang.String toString()
Overrides:
toString in class AXmodelElementAbstract


Copyright © 2003 ARMAX mindware GmbH. All Rights Reserved.