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.
 List getAssociationEnds()
           Gets the association ends belonging to this association.
 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

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

Returns:
always true

getAssociationEndA

public AssociationEndFacade getAssociationEndA()

The first association end.


getAssociationEndB

public AssociationEndFacade getAssociationEndB()

The second association end.


getAssociationEnds

public List getAssociationEnds()

Gets the association ends belonging to this association.


getRelationName

public String getRelationName()

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


isAbstract

public boolean isAbstract()

Indicates if this association is 'abstract'.


isAssociationClass

public boolean isAssociationClass()

isLeaf

public boolean isLeaf()

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


isMany2Many

public boolean isMany2Many()

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



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