org.andromda.metafacades.uml
Interface AssociationFacade

All Superinterfaces:
GeneralizableElementFacade, ModelElementFacade
All Known Subinterfaces:
AssociationClassFacade, EntityAssociation

public interface AssociationFacade
extends GeneralizableElementFacade

Metafacade interface to be used by AndroMDA cartridges.


Method Summary
 AssociationEndFacade getAssociationEndA()
           The first association end.
 AssociationEndFacade getAssociationEndB()
           The second association end.
 java.util.List getAssociationEnds()
           Gets the association ends belonging to this association.
 java.lang.String getRelationName()
           A name suited for naming this relationship.
 boolean isAbstract()
           Indicates if this association is 'abstract'.
 boolean isAssociationClass()
           
 boolean isAssociationFacadeMetaType()
          Indicates the metafacade type (used for metafacade mappings).
 boolean isLeaf()
           True if this association cannot be extended and represent a leaf in the inheritance tree.
 boolean isMany2Many()
           Indicates whether or not this associations represents a many-to-many relation.
 
Methods inherited from interface org.andromda.metafacades.uml.GeneralizableElementFacade
findTaggedValue, getAllGeneralizations, getAllSpecializations, getGeneralization, getGeneralizationLinks, getGeneralizationList, getGeneralizationRoot, getGeneralizations, getSpecializations, isGeneralizableElementFacadeMetaType
 
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

isAssociationFacadeMetaType

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

Returns:
always true

getAssociationEndA

AssociationEndFacade getAssociationEndA()

The first association end.


getAssociationEndB

AssociationEndFacade getAssociationEndB()

The second association end.


getAssociationEnds

java.util.List getAssociationEnds()

Gets the association ends belonging to this association.


getRelationName

java.lang.String getRelationName()

A name suited for naming this relationship. This name will be constructed from both association ends.


isAbstract

boolean isAbstract()

Indicates if this association is 'abstract'.


isAssociationClass

boolean isAssociationClass()

isLeaf

boolean isLeaf()

True if this association cannot be extended and represent a leaf in the inheritance tree.


isMany2Many

boolean isMany2Many()

Indicates whether or not this associations represents a many-to-many relation.



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