org.andromda.metafacades.uml
Interface AssociationEndFacade

All Superinterfaces:
ModelElementFacade
All Known Subinterfaces:
EntityAssociationEnd, ManageableEntityAssociationEnd, ValueObjectAssociationEnd

public interface AssociationEndFacade
extends ModelElementFacade

Metafacade interface to be used by AndroMDA cartridges.


Method Summary
 AssociationFacade getAssociation()
           The association owning this association end.
 String getGetterName()
           A name suitable for use when accessing this association end in programming code.
 String getGetterSetterTypeName()
           The name of the type that is returned on the accessor and mutator operations, determined in part by the multiplicity.
 int getLower()
           the lower value for the multiplicity
 AssociationEndFacade getOtherEnd()
           The other association end owned by this end's association.
 String getSetterName()
           A name suitable for use when accessing this association end in programming code.
 ClassifierFacade getType()
           The classifier attached to this association end.
 int getUpper()
           the upper value for the multiplicity (will be -1 for *)
 boolean isAggregation()
           True if this association end represents an aggregation relationship.
 boolean isAssociationEndFacadeMetaType()
          Indicates the metafacade type (used for metafacade mappings).
 boolean isChild()
           Returns whether or not (true/false) this association end is the child end of the assocation (i.e.
 boolean isComposition()
           True if this association end represents a composition relationship.
 boolean isMany()
           True if this association end's multiplicity is greater than one.
 boolean isMany2Many()
           True if this association end's and the other end's multiplicities are both many.
 boolean isMany2One()
           True if this association end's multiplicity is many while the other end's is one.
 boolean isNavigable()
           True if it is possible to navigate from the other end to this association end .
 boolean isOne2Many()
           True if this association end's multiplicity is one while the other end's is many.
 boolean isOne2One()
           True if this association end's and the other end's multiplicities are both one.
 boolean isOrdered()
           Indicates whether or not the association ends are ordered (if multiplicity is greater than 1).
 boolean isReadOnly()
           True if the association end cannot be changed.
 boolean isRequired()
           True if this association end's multiplicity is strictly greater than zero.
 
Methods inherited from interface org.andromda.metafacades.uml.ModelElementFacade
copyTaggedValues, findTaggedValue, findTaggedValues, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getValidationName, getValidationOwner, getVisibility, hasExactStereotype, hasStereotype, initialize, isBindingDependenciesPresent, isConstraintsPresent, isModelElementFacadeMetaType, isTemplateParametersPresent, translateConstraint, translateConstraints, translateConstraints, validateInvariants
 

Method Detail

isAssociationEndFacadeMetaType

public boolean isAssociationEndFacadeMetaType()
Indicates the metafacade type (used for metafacade mappings).

Returns:
always true

getAssociation

public AssociationFacade getAssociation()

The association owning this association end.


getGetterName

public String getGetterName()

A name suitable for use when accessing this association end in programming code.


getGetterSetterTypeName

public String getGetterSetterTypeName()

The name of the type that is returned on the accessor and mutator operations, determined in part by the multiplicity.


getLower

public int getLower()

the lower value for the multiplicity

-only applicable for UML2


getOtherEnd

public AssociationEndFacade getOtherEnd()

The other association end owned by this end's association.


getSetterName

public String getSetterName()

A name suitable for use when accessing this association end in programming code.


getType

public ClassifierFacade getType()

The classifier attached to this association end.


getUpper

public int getUpper()

the upper value for the multiplicity (will be -1 for *)

-only applicable for UML2


isAggregation

public boolean isAggregation()

True if this association end represents an aggregation relationship.


isChild

public boolean isChild()

Returns whether or not (true/false) this association end is the child end of the assocation (i.e. the other end's aggregation is composition).


isComposition

public boolean isComposition()

True if this association end represents a composition relationship.


isMany

public boolean isMany()

True if this association end's multiplicity is greater than one.


isMany2Many

public boolean isMany2Many()

True if this association end's and the other end's multiplicities are both many.


isMany2One

public boolean isMany2One()

True if this association end's multiplicity is many while the other end's is one.


isNavigable

public boolean isNavigable()

True if it is possible to navigate from the other end to this association end .


isOne2Many

public boolean isOne2Many()

True if this association end's multiplicity is one while the other end's is many.


isOne2One

public boolean isOne2One()

True if this association end's and the other end's multiplicities are both one.


isOrdered

public boolean isOrdered()

Indicates whether or not the association ends are ordered (if multiplicity is greater than 1).


isReadOnly

public boolean isReadOnly()

True if the association end cannot be changed.


isRequired

public boolean isRequired()

True if this association end's multiplicity is strictly greater than zero.



Copyright © 2003-2006 The AndroMDA Team. All Rights Reserved.