Interface Dependency
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,DirectedRelationship
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,PackageableElement
,ParameterableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
,Relationship
- All Known Subinterfaces:
Abstraction
,ComponentRealization
,Deployment
,InterfaceRealization
,Manifestation
,Realization
,Substitution
,Usage
public interface Dependency extends PackageableElement, DirectedRelationship
A representation of the model object 'Dependency'.A Dependency is a Relationship that signifies that a single model Element or a set of model Elements requires other model Elements for their specification or implementation. This means that the complete semantics of the client Element(s) are either semantically or structurally dependent on the definition of the supplier Element(s).
The following features are supported:
- See Also:
UMLPackage.getDependency()
- Model:
- annotation="MOF package='classes.mddependencies'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CollaborationUse
get_collaborationUseOfRoleBinding()
Returns the value of the 'collaboration Use Of Role Binding' container reference.java.util.Collection<NamedElement>
getClient()
Returns the value of the 'Client' reference list.java.util.Collection<NamedElement>
getSupplier()
Returns the value of the 'Supplier' reference list.boolean
hasClient()
boolean
hasSupplier()
void
set_collaborationUseOfRoleBinding(CollaborationUse value)
Sets the value of the 'collaboration Use Of Role Binding
' container reference.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, atInsert, canAdd, canAdd, canAddChild, canAddInstance, canBeDeleted, canChangeParent, canDeleteChild, clone, dispose, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, isParentOf, removeAllPropertyChangeListeners, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.DirectedRelationship
getSource, getTarget, hasSource, hasTarget
-
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.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
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, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.PackageableElement
get_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibility
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.ParameterableElement
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, getTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
-
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
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Relationship
get_abstraction, getRelatedElement, has_abstraction, hasRelatedElement
-
-
-
-
Method Detail
-
get_collaborationUseOfRoleBinding
@CheckForNull CollaborationUse get_collaborationUseOfRoleBinding()
Returns the value of the 'collaboration Use Of Role Binding' container reference. It is bidirectional and its opposite is 'Role Binding
'.If the meaning of the 'collaboration Use Of Role Binding' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'collaboration Use Of Role Binding' container reference.
- See Also:
set_collaborationUseOfRoleBinding(CollaborationUse)
,UMLPackage.getDependency__collaborationUseOfRoleBinding()
,CollaborationUse.getRoleBinding()
- Model:
- opposite="roleBinding" transient="false" ordered="false"
- Generated:
-
set_collaborationUseOfRoleBinding
void set_collaborationUseOfRoleBinding(@CheckForNull CollaborationUse value)
Sets the value of the 'collaboration Use Of Role Binding
' container reference.- Parameters:
value
- the new value of the 'collaboration Use Of Role Binding' container reference.- See Also:
get_collaborationUseOfRoleBinding()
- Generated:
-
getSupplier
java.util.Collection<NamedElement> getSupplier()
Returns the value of the 'Supplier' reference list. The list contents are of typeNamedElement
. It is bidirectional and its opposite is 'Supplier Dependency
'. The Element(s) on which the client Element(s) depend in some respect. The modeler may stipulate a sense of Dependency direction suitable for their domain.- Returns:
- the value of the 'Supplier' reference list.
- See Also:
UMLPackage.getDependency_Supplier()
,NamedElement.getSupplierDependency()
- Model:
- opposite="supplierDependency" required="true" ordered="false"
- Generated:
-
getClient
java.util.Collection<NamedElement> getClient()
Returns the value of the 'Client' reference list. The list contents are of typeNamedElement
. It is bidirectional and its opposite is 'Client Dependency
'. The Element(s) dependent on the supplier Element(s). In some cases (such as a trace Abstraction) the assignment of direction (that is, the designation of the client Element) is at the discretion of the modeler and is a stipulation.- Returns:
- the value of the 'Client' reference list.
- See Also:
UMLPackage.getDependency_Client()
,NamedElement.getClientDependency()
- Model:
- opposite="clientDependency" required="true" ordered="false"
- Generated:
-
hasSupplier
boolean hasSupplier() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasClient
boolean hasClient() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-