UML.Semantic.BehavioralElements.Collaborations
Class AssociationRole

java.lang.Object
  |
  +--UML.Semantic.Foundation.Core.ModelElement
        |
        +--UML.Semantic.Foundation.Core.Namespace
              |
              +--UML.Semantic.Foundation.Core.GeneralizableElement
                    |
                    +--UML.Semantic.Foundation.Core.Association
                          |
                          +--UML.Semantic.BehavioralElements.Collaborations.AssociationRole
All Implemented Interfaces:
Element, ElementAtt, LinkAtt

public class AssociationRole
extends Association

An association role is a specific usage of an association needed in a collaboration.

In the metamodel an AssociationRole specifies a restricted view of an Association used in a Collaboration. An AssociationRole is a composition of a set of AssociationEndRoles corresponding to the AssociationEnds of its base Association.


Field Summary
 
Fields inherited from class UML.Semantic.Foundation.Core.Association
AGGR_COMPOSITE, AGGR_NONE, AGGR_SHARED
 
Constructor Summary
AssociationRole()
           
 
Method Summary
 boolean check()
          Checks if well-formedness rules are respected in this model element.
 
Methods inherited from class UML.Semantic.Foundation.Core.Association
add, connectionAt, getAggregation, getConnection, getInfo
 
Methods inherited from class UML.Semantic.Foundation.Core.GeneralizableElement
add, allOwnedElement, allSupertype, getGeneralization, getIsAbstract, getIsLeaf, getIsRoot, getSpecialization, getSupertype, inheritedOwnedElement, inheritedSupertype, setIsAbstract, setIsLeaf, setIsRoot
 
Methods inherited from class UML.Semantic.Foundation.Core.Namespace
add, allContents, allContents, getOwnedElement, subContents
 
Methods inherited from class UML.Semantic.Foundation.Core.ModelElement
add, getBindingList, getConstraintList, getElementType, getErrors, getHref, getId, getIdentification, getIdref, getIndex, getIsOwned, getLabel, getLocator, getName, getNamespace, getNamespaceId, getStereotype, getTemplate, getTemplateParameterList, getTitle, getUuid, getUuidref, getVisibility, getVisibilitySymbol, getWarnings, setElementType, setErrors, setHref, setId, setIdref, setIndex, setIsOwned, setLabel, setName, setNamespace, setTemplate, setTitle, setUuid, setUuidref, setVisibility, setWarnings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssociationRole

public AssociationRole()
Method Detail

check

public boolean check()
Checks if well-formedness rules are respected in this model element.

Overrides:
check in class Association
Returns:
True if check was successful, false otherwise.