de.armax.ax.devtools.uml.mdr
Class AXassociationMdrImpl

java.lang.Object
  extended byde.armax.ax.devtools.uml.AXmodelElementAbstract
      extended byde.armax.ax.devtools.uml.mdr.AXmodelElementMdrImpl
          extended byde.armax.ax.devtools.uml.mdr.AXassociationMdrImpl
All Implemented Interfaces:
AXassociation, AXmodelElement

public class AXassociationMdrImpl
extends AXmodelElementMdrImpl
implements AXassociation

Author:
Peter Wieland, ARMAX mindware GmbH

Field Summary
 
Fields inherited from class de.armax.ax.devtools.uml.mdr.AXmodelElementMdrImpl
model
 
Fields inherited from interface de.armax.ax.devtools.uml.AXassociation
INTERFACE
 
Constructor Summary
AXassociationMdrImpl(org.omg.uml.foundation.core.UmlAssociation assoc, AXmodelMdrImpl model, java.util.HashMap taggedValues, AXassociationEnd thisEnd)
           
 
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.mdr.AXmodelElementMdrImpl
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

AXassociationMdrImpl

public AXassociationMdrImpl(org.omg.uml.foundation.core.UmlAssociation assoc,
                            AXmodelMdrImpl model,
                            java.util.HashMap taggedValues,
                            AXassociationEnd thisEnd)
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 AXmodelElementMdrImpl

toString

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


Copyright © 2003 ARMAX mindware GmbH. All Rights Reserved.