org.eclipse.uml2
Interface DirectedRelationship

All Superinterfaces:
Element, EModelElement, EObject, Notifier, Relationship
All Known Subinterfaces:
Abstraction, Dependency, Deployment, ElementImport, Extend, Generalization, Implementation, Include, InformationFlow, Manifestation, PackageImport, PackageMerge, Permission, ProfileApplication, ProtocolConformance, Realization, Substitution, TemplateBinding, Usage

public interface DirectedRelationship
extends Relationship

A representation of the model object 'Directed Relationship'. A directed relationship references one or more source elements and one or more target elements. Directed relationship is an abstract metaclass.

The following features are supported:

See Also:
UML2Package.getDirectedRelationship()

Field Summary
static String copyright
           
 
Method Summary
 EList getRelatedElements()
           
 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.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

getSources

public EList getSources()
Returns the value of the 'Source' reference list. The list contents are of type Element.

If the meaning of the 'Source' reference list isn't clear, there really should be more of a description here...

Specifies the sources of the DirectedRelationship. Subsets Relationship::relatedElement. This is a derived union.

Returns:
the value of the 'Source' reference list.
See Also:
UML2Package.getDirectedRelationship_Source()

getTargets

public EList getTargets()
Returns the value of the 'Target' reference list. The list contents are of type Element.

If the meaning of the 'Target' reference list isn't clear, there really should be more of a description here...

Specifies the targets of the DirectedRelationship. Subsets Relationship::relatedElement. This is a derived union.

Returns:
the value of the 'Target' reference list.
See Also:
UML2Package.getDirectedRelationship_Target()

getRelatedElements

public EList getRelatedElements()

Specified by:
getRelatedElements in interface Relationship
Returns:
the value of the 'Related Element' reference list.
See Also:
UML2Package.getRelationship_RelatedElement()

Copyright 2003, 2004 IBM Corporation and others.
All Rights Reserved.