blob: e17729a3b77e473d678c07164bde9c48c4ee834c [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 Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM - Initial API and implementation
*
* $Id: Abstraction.java,v 1.3 2004/06/03 02:59:17 khussey Exp $
*/
package org.eclipse.uml2;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Abstraction</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* An abstraction is a relationship that relates two elements or sets of elements that represent the same concept at different levels of abstraction or from different viewpoints. (See also, the definition of abstration in the Glossary.) In the metamodel, an Abstraction is a Dependency in which there is a mapping between the supplier and the client.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.Abstraction#getMapping <em>Mapping</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.UML2Package#getAbstraction()
* @model
* @generated
*/
public interface Abstraction extends Dependency{
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String copyright = "Copyright (c) 2003, 2004 IBM Corporation and others."; //$NON-NLS-1$
/**
* Returns the value of the '<em><b>Mapping</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Mapping</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Mapping</em>' containment reference.
* @see #setMapping(OpaqueExpression)
* @see org.eclipse.uml2.UML2Package#getAbstraction_Mapping()
* @model containment="true"
* @generated
*/
OpaqueExpression getMapping();
/**
* Sets the value of the '{@link org.eclipse.uml2.Abstraction#getMapping <em>Mapping</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Mapping</em>' containment reference.
* @see #getMapping()
* @generated
*/
void setMapping(OpaqueExpression value);
/**
* Creates a {@link org.eclipse.uml2.OpaqueExpression} and sets the '<em><b>Mapping</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param eClass The Ecore class of the {@link org.eclipse.uml2.OpaqueExpression} to create.
* @return The new {@link org.eclipse.uml2.OpaqueExpression}.
* @see #getMapping()
* @generated
*/
OpaqueExpression createMapping(EClass eClass);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model parameters=""
* @generated
*/
EList getOwnedElements();
} // Abstraction