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.
 java.lang.String getGetterName()
           A name suitable for use when accessing this association end in programming code.
 java.lang.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.
 java.lang.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

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

Returns:
always true

getAssociation

AssociationFacade getAssociation()

The association owning this association end.


getGetterName

java.lang.String getGetterName()

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


getGetterSetterTypeName

java.lang.String getGetterSetterTypeName()

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


getLower

int getLower()

the lower value for the multiplicity

-only applicable for UML2


getOtherEnd

AssociationEndFacade getOtherEnd()

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


getSetterName

java.lang.String getSetterName()

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


getType

ClassifierFacade getType()

The classifier attached to this association end.


getUpper

int getUpper()

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

-only applicable for UML2


isAggregation

boolean isAggregation()

True if this association end represents an aggregation relationship.


isChild

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

boolean isComposition()

True if this association end represents a composition relationship.


isMany

boolean isMany()

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


isMany2Many

boolean isMany2Many()

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


isMany2One

boolean isMany2One()

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


isNavigable

boolean isNavigable()

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


isOne2Many

boolean isOne2Many()

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


isOne2One

boolean isOne2One()

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


isOrdered

boolean isOrdered()

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


isReadOnly

boolean isReadOnly()

True if the association end cannot be changed.


isRequired

boolean isRequired()

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



Copyright © 2003-2008 AndroMDA.org. All Rights Reserved.