| /* |
| * Copyright (c) 2005 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: Abstraction.java,v 1.1 2005/11/14 22:26:01 khussey Exp $ |
| */ |
| package org.eclipse.uml2.uml; |
| |
| /** |
| * <!-- 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. 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.uml.Abstraction#getMapping <em>Mapping</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.uml2.uml.UMLPackage#getAbstraction() |
| * @model |
| * @generated |
| */ |
| public interface Abstraction |
| extends Dependency { |
| |
| /** |
| * Returns the value of the '<em><b>Mapping</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * An composition of an Expression that states the abstraction relationship between the supplier and the client. In some cases, such as Derivation, it is usually formal and unidirectional; in other cases, such as Trace, it is usually informal and bidirectional. The mapping expression is optional and may be omitted if the precise relationship between the elements is not specified. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Mapping</em>' containment reference. |
| * @see #setMapping(OpaqueExpression) |
| * @see org.eclipse.uml2.uml.UMLPackage#getAbstraction_Mapping() |
| * @model containment="true" resolveProxies="false" ordered="false" |
| * @generated |
| */ |
| OpaqueExpression getMapping(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.uml.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.uml.OpaqueExpression} and sets the '<em><b>Mapping</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return The new {@link org.eclipse.uml2.uml.OpaqueExpression}. |
| * @see #getMapping() |
| * @generated |
| */ |
| OpaqueExpression createMapping(); |
| |
| } // Abstraction |