org.eclipse.uml2
Interface Relationship

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

public interface Relationship
extends Element

A representation of the model object 'Relationship'. A relationship references one or more related elements. Relationship is an abstract metaclass.

The following features are supported:

See Also:
UML2Package.getRelationship()

Field Summary
static String copyright
           
 
Method Summary
 EList getRelatedElements()
          Returns the value of the 'Related Element' 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

getRelatedElements

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

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

Specifies the elements related by the Relationship. This is a derived union.

Returns:
the value of the 'Related Element' reference list.
See Also:
UML2Package.getRelationship_RelatedElement()

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