UML.Semantic.BehavioralElements.Collaborations
Class ClassifierRole

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

public class ClassifierRole
extends Classifier

A classifier role is a specific role played by a participant in a collaboration. It specifies a restricted view of a classifier, defined by what is required in the collaboration.

In the metamodel a ClassifierRole specifies one participant of a Collaboration, i.e. a role Instances conform to. It declares a set of Features, which is a subset of those available in the base Classifier. The ClassifierRole may be connected to a set of AssociationRoles via AssociationEndRoles.


Constructor Summary
ClassifierRole()
           
 
Method Summary
 boolean check()
          Checks if well-formedness rules are respected in this model element.
 
Methods inherited from class UML.Semantic.Foundation.Core.Classifier
add, add, add, allAssociationEnd, allAssociations, allAttributes, allFeatures, allMethods, allOperations, allOppositeAssociationEnd, getAssociationEnd, getAssociations, getAttribute, getAttribute, getAttributeCount, getFeature, getFeature, getInfo, getOperation, getOperation, getOperationCount, getSpecification, inheritedAssociationEnd, inheritedAssociations, inheritedAttributes, inheritedOperations, inheritedOppositeAssociationEnd, oppositeAssociationEnd, setRealization, setSpecification
 
Methods inherited from class UML.Semantic.Foundation.Core.GeneralizableElement
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

ClassifierRole

public ClassifierRole()
Method Detail

check

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

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