org.eclipse.uml2.uml.DirectedRelationship Maven / Gradle / Ivy
The newest version!
/*
* Copyright (c) 2005, 2014 IBM Corporation, Embarcadero Technologies, CEA, 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
* Kenn Hussey (Embarcadero Technologies) - 205188
* Christian W. Damus (CEA) - 251963
* Kenn Hussey (CEA) - 418466
*
*/
package org.eclipse.uml2.uml;
import org.eclipse.emf.common.util.EList;
/**
*
* A representation of the model object 'Directed Relationship'.
*
*
*
* A DirectedRelationship represents a relationship between a collection of source model Elements and a collection of target model Elements.
* From package UML::CommonStructure.
*
*
*
* The following features are supported:
*
* - {@link org.eclipse.uml2.uml.DirectedRelationship#getSources Source}
* - {@link org.eclipse.uml2.uml.DirectedRelationship#getTargets Target}
*
*
*
* @see org.eclipse.uml2.uml.UMLPackage#getDirectedRelationship()
* @model abstract="true"
* @generated
*/
public interface DirectedRelationship
extends Relationship {
/**
* Returns the value of the 'Source' reference list.
* The list contents are of type {@link org.eclipse.uml2.uml.Element}.
*
* This feature subsets the following features:
*
* - '{@link org.eclipse.uml2.uml.Relationship#getRelatedElements() Related Element}'
*
*
* This feature is a derived union.
*
*
*
* Specifies the source Element(s) of the DirectedRelationship.
* From package UML::CommonStructure.
*
* @return the value of the 'Source' reference list.
* @see org.eclipse.uml2.uml.UMLPackage#getDirectedRelationship_Source()
* @model required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
* @generated
*/
EList getSources();
/**
* Returns the value of the 'Target' reference list.
* The list contents are of type {@link org.eclipse.uml2.uml.Element}.
*
* This feature subsets the following features:
*
* - '{@link org.eclipse.uml2.uml.Relationship#getRelatedElements() Related Element}'
*
*
* This feature is a derived union.
*
*
*
* Specifies the target Element(s) of the DirectedRelationship.
* From package UML::CommonStructure.
*
* @return the value of the 'Target' reference list.
* @see org.eclipse.uml2.uml.UMLPackage#getDirectedRelationship_Target()
* @model required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
* @generated
*/
EList getTargets();
} // DirectedRelationship