public interface DirectedRelationship extends 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:
UMLPackage.getDirectedRelationship()
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Element> |
getSource()
Returns the value of the 'Source' reference list.
|
java.util.Collection<Element> |
getTarget()
Returns the value of the 'Target' reference list.
|
boolean |
hasSource() |
boolean |
hasTarget() |
get_abstraction, getRelatedElement, has_abstraction, hasRelatedElement
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
java.util.Collection<Element> getSource()
Element
.
It is bidirectional and its opposite is
'directed Relationship Of Source
'.
Specifies the source Element(s) of the DirectedRelationship.
UMLPackage.getDirectedRelationship_Source()
,
Element.get_directedRelationshipOfSource()
java.util.Collection<Element> getTarget()
Element
.
It is bidirectional and its opposite is
'directed Relationship Of Target
'.
Specifies the target Element(s) of the DirectedRelationship.
UMLPackage.getDirectedRelationship_Target()
,
Element.get_directedRelationshipOfTarget()
boolean hasSource() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasTarget() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException