blob: 76e764ef90e2fb82a4c8d5bc8865dbdb088c00bd [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: DirectedRelationship.java,v 1.12 2006/05/26 18:16:52 khussey Exp $
*/
package org.eclipse.uml2;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Directed Relationship</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A directed relationship references one or more source elements and one or more target elements. Directed relationship is an abstract metaclass.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.DirectedRelationship#getSources <em>Source</em>}</li>
* <li>{@link org.eclipse.uml2.DirectedRelationship#getTargets <em>Target</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.UML2Package#getDirectedRelationship()
* @model abstract="true"
* @generated
*/
public interface DirectedRelationship extends Relationship {
/**
* <!-- 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>Source</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>Source</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Specifies the sources of the DirectedRelationship. Subsets Relationship::relatedElement. This is a derived union.
* <!-- end-model-doc -->
* @return the value of the '<em>Source</em>' reference list.
* @see org.eclipse.uml2.UML2Package#getDirectedRelationship_Source()
* @model type="org.eclipse.uml2.Element" required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
* @generated
*/
EList getSources();
/**
* Returns the value of the '<em><b>Target</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>Target</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Specifies the targets of the DirectedRelationship. Subsets Relationship::relatedElement. This is a derived union.
* <!-- end-model-doc -->
* @return the value of the '<em>Target</em>' reference list.
* @see org.eclipse.uml2.UML2Package#getDirectedRelationship_Target()
* @model type="org.eclipse.uml2.Element" required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
* @generated
*/
EList getTargets();
} // DirectedRelationship