Interface CollaborationUse
- All Superinterfaces:
BaseElement
,Cloneable
,Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,com.dassault_systemes.modeler.foundation.model.ModelElement
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
A representation of the model object 'Collaboration Use'.
A CollaborationUse is used to specify the application of a pattern specified by a Collaboration to a specific situation.
The following features are supported:
- See Also:
- Model:
- annotation="MOF package='compositestructures.mdcollaborations'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'classifier Of Collaboration Use' container reference.Returns the value of the 'classifier Of Representation' reference.Returns the value of the 'Role Binding' containment reference list.getType()
Returns the value of the 'Type' reference.boolean
void
Sets the value of the 'classifier Of Collaboration Use
' container reference.void
Sets the value of the 'classifier Of Representation
' reference.void
setType
(Collaboration value) Sets the value of the 'Type
' reference.Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, isEditable, removePropertyChangeListener, sGetID
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
Methods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, setLocalID, sGetLocalID
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibility
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValue
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
-
Method Details
-
getRoleBinding
Collection<Dependency> getRoleBinding()Returns the value of the 'Role Binding' containment reference list. The list contents are of typeDependency
. It is bidirectional and its opposite is 'collaboration Use Of Role Binding
'. 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).- Returns:
- the value of the 'Role Binding' containment reference list.
- See Also:
- Model:
- opposite="_collaborationUseOfRoleBinding" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
get_classifierOfCollaborationUse
Returns the value of the 'classifier Of Collaboration Use' container reference. It is bidirectional and its opposite is 'Collaboration Use
'.If the meaning of the 'classifier Of Collaboration Use' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'classifier Of Collaboration Use' container reference.
- See Also:
- Model:
- opposite="collaborationUse" transient="false" ordered="false"
- Generated:
-
set_classifierOfCollaborationUse
Sets the value of the 'classifier Of Collaboration Use
' container reference.- Parameters:
value
- the new value of the 'classifier Of Collaboration Use' container reference.- See Also:
- Generated:
-
get_classifierOfRepresentation
Returns the value of the 'classifier Of Representation' reference. It is bidirectional and its opposite is 'Representation
'.If the meaning of the 'classifier Of Representation' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'classifier Of Representation' reference.
- See Also:
- Model:
- opposite="representation" ordered="false"
- Generated:
-
set_classifierOfRepresentation
Sets the value of the 'classifier Of Representation
' reference.- Parameters:
value
- the new value of the 'classifier Of Representation' reference.- See Also:
- Generated:
-
getType
Returns the value of the 'Type' reference. It is bidirectional and its opposite is 'collaboration Use Of Type
'. The Collaboration which is used in this CollaborationUse. The Collaboration defines the cooperation between its roles which are mapped to ConnectableElements relating to the Classifier owning the CollaborationUse.- Returns:
- the value of the 'Type' reference.
- See Also:
- Model:
- opposite="_collaborationUseOfType" required="true" ordered="false"
- Generated:
-
setType
Sets the value of the 'Type
' reference.- Parameters:
value
- the new value of the 'Type' reference.- See Also:
- Generated:
-
hasRoleBinding
boolean hasRoleBinding() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException
- Generated:
-