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

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.AXassociationNsumlImpl
All Implemented Interfaces:
AXassociation, AXmodelElement

public class AXassociationNsumlImpl
extends AXmodelElementNsumlImpl
implements AXassociation

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.AXassociation
INTERFACE
 
Constructor Summary
AXassociationNsumlImpl(ru.novosoft.uml.foundation.core.MAssociation assoc, AXmodelNsumlImpl model, AXclass cls)
           
 
Method Summary
 AXassociation getInverseAssociation()
          Get an association representing the same UML association as it is seen by the other end.
 java.lang.String getName()
          Get the name for the association (NOTE: this is not the UML name for this association).
 AXassociationEnd getOtherEnd()
          Get the non reference or opposite end of an association
 AXassociationEnd getThisEnd()
          Get the reference end of an association.
 java.lang.String toString()
           
 
Methods inherited from class de.armax.ax.devtools.uml.nsuml.AXmodelElementNsumlImpl
existTaggedValue, getModel, 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, getNameForCollectionDefine, getNameForCollectionMethod, getNameForCollectionVariable, getNameForDefine, getNameForMethod, getNameForVariable, getNamespaceName, getPackage, getQualifiedName, getRealElement, getStereotype, getSufficientlyQualifiedName, getSufficientlyQualifiedName, getTaggedValue, getTaggedValue, getTaggedValues, getTaggedValueTags, getWellKnownPackages, hasStereotype, isSameNamespace, isSameNamespace
 

Constructor Detail

AXassociationNsumlImpl

public AXassociationNsumlImpl(ru.novosoft.uml.foundation.core.MAssociation assoc,
                              AXmodelNsumlImpl model,
                              AXclass cls)
Method Detail

getThisEnd

public AXassociationEnd getThisEnd()
Description copied from interface: AXassociation

Get the reference end of an association.

Specified by:
getThisEnd in interface AXassociation
Returns:
the reference end

getOtherEnd

public AXassociationEnd getOtherEnd()
Description copied from interface: AXassociation

Get the non reference or opposite end of an association

Specified by:
getOtherEnd in interface AXassociation
Returns:
the opposite end

getInverseAssociation

public AXassociation getInverseAssociation()
Description copied from interface: AXassociation

Get an association representing the same UML association as it is seen by the other end. I.e. the two ends are interchanged.

Specified by:
getInverseAssociation in interface AXassociation

getName

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

Get the name for the association (NOTE: this is not the UML name for this association).

The name of an association is (unlike the UML name for an association) build following the rules below.

Specified by:
getName in interface AXassociation
Overrides:
getName in class AXmodelElementNsumlImpl

toString

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


Copyright © 2003 ARMAX mindware GmbH. All Rights Reserved.