blob: 7877e37d9e6504cb401ec80d8e8f0c49dba5847d [file] [log] [blame]
/*
* Copyright (c) 2003, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM - initial API and implementation
*
* $Id: Relationship.java,v 1.10 2005/11/09 22:53:10 khussey Exp $
*/
package org.eclipse.uml2;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Relationship</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A relationship references one or more related elements. Relationship is an abstract metaclass.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.Relationship#getRelatedElements <em>Related Element</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.UML2Package#getRelationship()
* @model abstract="true"
* @generated
*/
public interface Relationship extends Element{
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String copyright = "Copyright (c) IBM Corporation and others."; //$NON-NLS-1$
/**
* Returns the value of the '<em><b>Related Element</b></em>' reference list.
* The list contents are of type {@link org.eclipse.uml2.Element}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Related Element</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Specifies the elements related by the Relationship. This is a derived union.
* <!-- end-model-doc -->
* @return the value of the '<em>Related Element</em>' reference list.
* @see org.eclipse.uml2.UML2Package#getRelationship_RelatedElement()
* @model type="org.eclipse.uml2.Element" required="true" transient="true" changeable="false" derived="true" ordered="false"
* @generated
*/
EList getRelatedElements();
} // Relationship