de.armax.ax.devtools.uml
Class AXclassifierVoid

java.lang.Object
  extended byde.armax.ax.devtools.uml.AXmodelElementAbstract
      extended byde.armax.ax.devtools.uml.AXclassifierVoid
All Implemented Interfaces:
AXclassifier, AXmodelElement

public class AXclassifierVoid
extends AXmodelElementAbstract
implements AXclassifier

Convenience class representing a void type.

This class is realized as a singleton.

Author:
Peter Wieland, ARMAX mindware GmbH
See Also:
AXclassifier

Field Summary
 
Fields inherited from interface de.armax.ax.devtools.uml.AXclassifier
INTERFACE
 
Method Summary
 boolean existTaggedValue(java.lang.String tag)
          Check weather a tagged value with the given tag name exists.
 java.util.List getClientDependencies()
           
 java.util.List getGeneralizations()
           
static AXclassifier getInstance(AXmodel model)
          Use this method to get a void instance of the AXclassifier interface
 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.lang.Object getRealElement()
          Get the real element, this element wraps.
 java.util.List getSpecializations()
           
 java.lang.String getStereotype()
          Get the stereotype of this element.
 java.util.List getSupplierDependencies()
           
 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 isNativeType()
          Check weather this type is a native type.
 boolean isVoidType()
          Check weather this type is a void type.
 
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
 

Method Detail

getInstance

public static AXclassifier getInstance(AXmodel model)

Use this method to get a void instance of the AXclassifier interface

Parameters:
model -

getName

public java.lang.String getName()
Description copied from interface: AXmodelElement

Get the name for the model element.

Specified by:
getName in interface AXmodelElement
Specified by:
getName in class AXmodelElementAbstract

getNamespaceName

public java.lang.String getNamespaceName()
Description copied from interface: 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).

Specified by:
getNamespaceName in interface AXmodelElement
Specified by:
getNamespaceName in class AXmodelElementAbstract

getTaggedValue

public java.lang.String getTaggedValue(java.lang.String tag)
Description copied from interface: 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

Specified by:
getTaggedValue in interface AXmodelElement
Specified by:
getTaggedValue in class AXmodelElementAbstract

getTaggedValue

public java.lang.String getTaggedValue(java.lang.String tag,
                                       java.lang.String dflt)
Description copied from interface: 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

Specified by:
getTaggedValue in interface AXmodelElement
Specified by:
getTaggedValue in class AXmodelElementAbstract

getTaggedValues

public java.util.List getTaggedValues(java.lang.String tag)
Description copied from interface: AXmodelElement

Get all tagged values for a given tag name.

Specified by:
getTaggedValues in interface AXmodelElement
Specified by:
getTaggedValues in class AXmodelElementAbstract

getTaggedValueTags

public java.util.List getTaggedValueTags()
Description copied from interface: AXmodelElement

Get all existing tag names of tagged values for this element.

Specified by:
getTaggedValueTags in interface AXmodelElement
Specified by:
getTaggedValueTags in class AXmodelElementAbstract

existTaggedValue

public boolean existTaggedValue(java.lang.String tag)
Description copied from interface: AXmodelElement

Check weather a tagged value with the given tag name exists.

Specified by:
existTaggedValue in interface AXmodelElement
Specified by:
existTaggedValue in class AXmodelElementAbstract

getModel

public AXmodel getModel()
Description copied from interface: AXmodelElement

Get the model containing this element.

Specified by:
getModel in interface AXmodelElement
Specified by:
getModel in class AXmodelElementAbstract

getRealElement

public java.lang.Object getRealElement()
Description copied from interface: AXmodelElement

Get the real element, this element wraps.

Specified by:
getRealElement in interface AXmodelElement
Specified by:
getRealElement in class AXmodelElementAbstract

isVoidType

public boolean isVoidType()
Description copied from interface: AXclassifier

Check weather this type is a void type.

Specified by:
isVoidType in interface AXclassifier
Returns:
true if this classifier is a void type.

getGeneralizations

public java.util.List getGeneralizations()

getSpecializations

public java.util.List getSpecializations()

getClientDependencies

public java.util.List getClientDependencies()

getSupplierDependencies

public java.util.List getSupplierDependencies()

getStereotype

public java.lang.String getStereotype()
Description copied from interface: AXmodelElement

Get the stereotype of this element.

Specified by:
getStereotype in interface AXmodelElement
Specified by:
getStereotype in class AXmodelElementAbstract

isNativeType

public boolean isNativeType()
Description copied from interface: AXclassifier

Check weather this type is a native type.

This returns true for UML DataTypes.

Specified by:
isNativeType in interface AXclassifier


Copyright © 2003 ARMAX mindware GmbH. All Rights Reserved.