org.eclipse.uml2.uml
Interface DirectedRelationship
- All Superinterfaces:
- Element, EModelElement, EObject, Notifier, Relationship
- All Known Subinterfaces:
- Abstraction, ComponentRealization, Dependency, Deployment, ElementImport, Extend, Generalization, Include, InformationFlow, InterfaceRealization, Manifestation, PackageImport, PackageMerge, ProfileApplication, ProtocolConformance, Realization, Substitution, TemplateBinding, Usage
- public interface DirectedRelationship
- extends Relationship
A representation of the model object 'Directed Relationship'.
A directed relationship represents a relationship between a collection of source model elements and a collection of target model elements.
The following features are supported:
- See Also:
UMLPackage.getDirectedRelationship()
Method Summary |
EList |
getSources()
Returns the value of the 'Source' reference list.
|
EList |
getTargets()
Returns the value of the 'Target' reference list.
|
Methods inherited from interface org.eclipse.uml2.uml.Element |
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 |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
getSources
public EList getSources()
- Returns the value of the 'Source' reference list.
The list contents are of type
Element
.
Specifies the sources of the DirectedRelationship.
- Returns:
- the value of the 'Source' reference list.
- See Also:
UMLPackage.getDirectedRelationship_Source()
getTargets
public EList getTargets()
- Returns the value of the 'Target' reference list.
The list contents are of type
Element
.
Specifies the targets of the DirectedRelationship.
- Returns:
- the value of the 'Target' reference list.
- See Also:
UMLPackage.getDirectedRelationship_Target()