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 java.lang.String |
copyright
|
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.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getValue, hasKeyword, hasValue, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, 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 |
copyright
public static final java.lang.String copyright
-
- See Also:
- Constant Field Values
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()