de.armax.ax.devtools.uml
Interface AXassociationEnd

All Superinterfaces:
AXmodelElement
All Known Implementing Classes:
AXassociationEndMdrImpl, AXassociationEndNsumlImpl

public interface AXassociationEnd
extends AXmodelElement

Metamodel for am UML association end.

Author:
Peter Wieland, ARMAX mindware GmbH

Field Summary
static int AK_AGGREGATE
          Constant for aggregation kind "aggregate"
static int AK_COMPOSITE
          Constant for aggregation kind "composite"
static int AK_NONE
          Constant for aggregation kind "none"
static java.lang.String INTERFACE
          The qualified name of this interface.
 
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 AK_AGGREGATE.
 boolean isComposite()
          Check weather this association end has aggregation kind AK_COMPOSITE.
 boolean isNavigable()
          Check weather this association end is navigable.
 
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
 

Field Detail

INTERFACE

public static final java.lang.String INTERFACE

The qualified name of this interface.

See Also:
Constant Field Values

AK_NONE

public static final int AK_NONE

Constant for aggregation kind "none"

See Also:
Constant Field Values

AK_AGGREGATE

public static final int AK_AGGREGATE

Constant for aggregation kind "aggregate"

See Also:
Constant Field Values

AK_COMPOSITE

public static final int AK_COMPOSITE

Constant for aggregation kind "composite"

See Also:
Constant Field Values
Method Detail

getAggregationKind

public int getAggregationKind()

Get the aggregation kind of this association end.

One of AK_NONE, AK_AGGREGATE or AK_COMPOSITE.

Returns:
the aggregation kind of this association end

isComposite

public boolean isComposite()

Check weather this association end has aggregation kind AK_COMPOSITE.

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

Returns:
true if and only if this association end has aggregation kind AK_COMPOSITE

isAggregate

public boolean isAggregate()

Check weather this association end has aggregation kind AK_AGGREGATE.

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

Returns:
true if and only if this association end has aggregation kind AK_AGGREGATE

isNavigable

public boolean isNavigable()

Check weather this association end is navigable.

Returns:
true if and only if this association end is navigable.

getMultiplicity

public AXmultiplicity getMultiplicity()

Get the multiplicity of this association end.

Returns:
the multiplicity of this association end.

getOppositeEnd

public AXassociationEnd getOppositeEnd()

Get the opposite end of this association end.

Returns:
the opposite end that builds an association together with this end.

getOwner

public AXclass getOwner()

Get the owner of this association end.

Returns:
the owning class of this association end.


Copyright © 2003 ARMAX mindware GmbH. All Rights Reserved.