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

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.AXassociationEndNsumlImpl
All Implemented Interfaces:
AXassociationEnd, AXmodelElement

public class AXassociationEndNsumlImpl
extends AXmodelElementNsumlImpl
implements AXassociationEnd

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.AXassociationEnd
AK_AGGREGATE, AK_COMPOSITE, AK_NONE, INTERFACE
 
Constructor Summary
AXassociationEndNsumlImpl(ru.novosoft.uml.foundation.core.MAssociationEnd assocEnd, AXmodelNsumlImpl model)
           
 
Method Summary
 int getAggregationKind()
          Get the aggregation kind of this association end.
 AXmultiplicity getMultiplicity()
          Get the multiplicity of this association end.
 AXassociationEnd getOppositeEnd()
          Get the opposite end of this association end.
 AXclass getOwner()
          Get the owner of this association end.
 boolean isAggregate()
          Check weather this association end has aggregation kind AXassociationEnd.AK_AGGREGATE.
 boolean isComposite()
          Check weather this association end has aggregation kind AXassociationEnd.AK_COMPOSITE.
 boolean isNavigable()
          Check weather this association end is navigable.
 
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, 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, 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

AXassociationEndNsumlImpl

public AXassociationEndNsumlImpl(ru.novosoft.uml.foundation.core.MAssociationEnd assocEnd,
                                 AXmodelNsumlImpl model)
Method Detail

getAggregationKind

public int getAggregationKind()
Description copied from interface: AXassociationEnd

Get the aggregation kind of this association end.

One of AXassociationEnd.AK_NONE, AXassociationEnd.AK_AGGREGATE or AXassociationEnd.AK_COMPOSITE.

Specified by:
getAggregationKind in interface AXassociationEnd
Returns:
the aggregation kind of this association end

isComposite

public boolean isComposite()
Description copied from interface: AXassociationEnd

Check weather this association end has aggregation kind AXassociationEnd.AK_COMPOSITE.

This is a convenience method and should return the value of (getAggregationKind() == AK_COMPOSITE)

Specified by:
isComposite in interface AXassociationEnd
Returns:
true if and only if this association end has aggregation kind AK_COMPOSITE

isAggregate

public boolean isAggregate()
Description copied from interface: AXassociationEnd

Check weather this association end has aggregation kind AXassociationEnd.AK_AGGREGATE.

This is a convenience method and should return the value of (getAggregationKind() == AK_AGGREGATE)

Specified by:
isAggregate in interface AXassociationEnd
Returns:
true if and only if this association end has aggregation kind AK_AGGREGATE

isNavigable

public boolean isNavigable()
Description copied from interface: AXassociationEnd

Check weather this association end is navigable.

Specified by:
isNavigable in interface AXassociationEnd
Returns:
true if and only if this association end is navigable.

getMultiplicity

public AXmultiplicity getMultiplicity()
Description copied from interface: AXassociationEnd

Get the multiplicity of this association end.

Specified by:
getMultiplicity in interface AXassociationEnd
Returns:
the multiplicity of this association end.

getOppositeEnd

public AXassociationEnd getOppositeEnd()
Description copied from interface: AXassociationEnd

Get the opposite end of this association end.

Specified by:
getOppositeEnd in interface AXassociationEnd
Returns:
the opposite end that builds an association together with this end.

getOwner

public AXclass getOwner()
Description copied from interface: AXassociationEnd

Get the owner of this association end.

Specified by:
getOwner in interface AXassociationEnd
Returns:
the owning class of this association end.


Copyright © 2003 ARMAX mindware GmbH. All Rights Reserved.