public interface CollaborationUse extends NamedElement
The following features are supported:
UMLPackage.getCollaborationUse()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Dependency |
createRoleBinding(String name)
Creates a new
Dependency , with the specified 'Name', and appends it to the '
Role Binding' containment reference list |
Dependency |
createRoleBinding(String name,
EClass eClass)
Creates a new
Dependency , with the specified 'Name', and appends it to the '
Role Binding' containment reference list |
Dependency |
getRoleBinding(String name)
Retrieves the first
Dependency with the specified 'Name' from the '
Role Binding' containment reference list |
Dependency |
getRoleBinding(String name,
boolean ignoreCase,
EClass eClass,
boolean createOnDemand)
Retrieves the first
Dependency with the specified 'Name' from the '
Role Binding' containment reference list |
MDWEList<Dependency> |
getRoleBindings()
Returns the value of the 'Role Binding' containment reference list.
|
Collaboration |
getType()
Returns the value of the 'Type' reference
|
void |
setType(Collaboration value)
Sets the value of the '
Type ' reference |
boolean |
validateClientElements(DiagnosticChain diagnostics,
Map context)
All the client elements of a roleBinding are in one classifier and all supplier elements of a roleBinding are in one collaboration and they are
compatible.
|
boolean |
validateConnectors(DiagnosticChain diagnostics,
Map context)
The connectors in the classifier connect according to the connectors in the collaboration
true
|
boolean |
validateEveryRole(DiagnosticChain diagnostics,
Map context)
Every role in the collaboration is bound within the collaboration use to a connectable element within the classifier or operation.
|
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
Collaboration getType()
setType(Collaboration)
,
UMLPackage.getCollaborationUse_Type()
void setType(Collaboration value)
Type
' reference.
value
- the new value of the 'Type' reference.getType()
MDWEList<Dependency> getRoleBindings()
Dependency
.
A mapping between features of the collaboration type and features of the classifier or operation. This mapping indicates which connectable
element of the classifier or operation plays which role(s) in the collaboration. A connectable element may be bound to multiple roles in the
same collaboration use (that is, it may play multiple roles).
UMLPackage.getCollaborationUse_RoleBinding()
Dependency createRoleBinding(String name, EClass eClass)
Dependency
, with the specified 'Name', and appends it to the '
Role Binding' containment reference list.
name
- The 'Name' for the new Dependency
, or null
.eClass
- The Ecore class of the Dependency
to create.Dependency
.getRoleBindings()
Dependency createRoleBinding(String name)
Dependency
, with the specified 'Name', and appends it to the '
Role Binding' containment reference list.
name
- The 'Name' for the new Dependency
, or null
.Dependency
.getRoleBindings()
Dependency getRoleBinding(String name)
Dependency
with the specified 'Name' from the '
Role Binding' containment reference list.
name
- The 'Name' of the Dependency
to retrieve, or null
.Dependency
with the specified 'Name', or null
.getRoleBindings()
Dependency getRoleBinding(String name, boolean ignoreCase, EClass eClass, boolean createOnDemand)
Dependency
with the specified 'Name' from the '
Role Binding' containment reference list.
name
- The 'Name' of the Dependency
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Dependency
to retrieve, or null
.createOnDemand
- Whether to create a Dependency
on demand if not found.Dependency
with the specified 'Name', or null
.getRoleBindings()
boolean validateClientElements(DiagnosticChain diagnostics, Map context)
boolean validateEveryRole(DiagnosticChain diagnostics, Map context)
boolean validateConnectors(DiagnosticChain diagnostics, Map context)