Interface DirectedRelationship
- All Superinterfaces:
BaseElement,Cloneable,Comparable,Element,org.eclipse.emf.ecore.EObject,MDObject,com.dassault_systemes.modeler.foundation.model.ModelElement,ModelObject,org.eclipse.emf.common.notify.Notifier,javax.jmi.reflect.RefBaseObject,javax.jmi.reflect.RefFeatured,javax.jmi.reflect.RefObject,Relationship
- All Known Subinterfaces:
Abstraction,ComponentRealization,Dependency,Deployment,ElementImport,Extend,Generalization,Include,InformationFlow,InterfaceRealization,Manifestation,PackageImport,PackageMerge,ProfileApplication,ProtocolConformance,Realization,Substitution,TemplateBinding,Usage
A representation of the model object 'Directed Relationship'.
A DirectedRelationship represents a relationship between a collection of source model Elements and a collection of target model Elements.
The following features are supported:
- See Also:
- Model:
- abstract="true" annotation="MOF package='classes.mdkernel'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Source' reference list.Returns the value of the 'Target' reference list.booleanbooleanMethods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, isEditable, removePropertyChangeListener, sGetIDMethods inherited from interface java.lang.Comparable
compareToMethods 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, setSyncElementMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setIDMethods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, selfDispose, setLocalID, sGetLocalIDMethods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationTextMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraintsMethods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValueMethods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostCompositeMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Relationship
get_abstraction, getRelatedElement, has_abstraction, hasRelatedElement
-
Method Details
-
getSource
Collection<Element> getSource()Returns the value of the 'Source' reference list. The list contents are of typeElement. It is bidirectional and its opposite is 'directed Relationship Of Source'. Specifies the source Element(s) of the DirectedRelationship.- Returns:
- the value of the 'Source' reference list.
- See Also:
- Model:
- opposite="_directedRelationshipOfSource" required="true" transient="true" volatile="true" derived="true" ordered="false"
- Generated:
-
getTarget
Collection<Element> getTarget()Returns the value of the 'Target' reference list. The list contents are of typeElement. It is bidirectional and its opposite is 'directed Relationship Of Target'. Specifies the target Element(s) of the DirectedRelationship.- Returns:
- the value of the 'Target' reference list.
- See Also:
- Model:
- opposite="_directedRelationshipOfTarget" required="true" transient="true" volatile="true" derived="true" ordered="false"
- Generated:
-
hasSource
boolean hasSource() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasTarget
boolean hasTarget() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-