public interface CollaborationUse extends NamedElement
From package UML::StructuredClassifiers.
The following features are supported:
UMLPackage.getCollaborationUse()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Dependency |
createRoleBinding(java.lang.String name)
Creates a new
Dependency , with the specified 'Name', and appends it to the 'Role Binding' containment reference list |
Dependency |
createRoleBinding(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new
Dependency , with the specified 'Name', and appends it to the 'Role Binding' containment reference list |
Dependency |
getRoleBinding(java.lang.String name)
Retrieves the first
Dependency with the specified 'Name' from the 'Role Binding' containment reference list |
Dependency |
getRoleBinding(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first
Dependency with the specified 'Name' from the 'Role Binding' containment reference list |
org.eclipse.emf.common.util.EList<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(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
All the client elements of a roleBinding are in one Classifier and all supplier elements of a roleBinding are in one Collaboration.
|
boolean |
validateConnectors(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Connectors in a Collaboration typing a CollaborationUse must have corresponding Connectors between elements bound in the context Classifier, and these corresponding Connectors must have the same or more general type than the Collaboration Connectors.
|
boolean |
validateEveryRole(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Every collaborationRole in the Collaboration is bound within the CollaborationUse.
|
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, 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
getEAnnotation, getEAnnotations
Collaboration getType()
From package UML::StructuredClassifiers.
setType(Collaboration)
,
UMLPackage.getCollaborationUse_Type()
void setType(Collaboration value)
Type
' reference.
value
- the new value of the 'Type' reference.getType()
org.eclipse.emf.common.util.EList<Dependency> getRoleBindings()
Dependency
.
This feature subsets the following features:
A mapping between features of the Collaboration and features of the owning Classifier. This mapping indicates which ConnectableElement of the Classifier plays which role(s) in the Collaboration. A ConnectableElement may be bound to multiple roles in the same CollaborationUse (that is, it may play multiple roles).From package UML::StructuredClassifiers.
UMLPackage.getCollaborationUse_RoleBinding()
Dependency createRoleBinding(java.lang.String name, org.eclipse.emf.ecore.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(java.lang.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(java.lang.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(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.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(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validateEveryRole(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validateConnectors(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.