| /** |
| * <copyright> |
| * Copyright (c) 2008 Open Canarias 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: |
| * A. Sanchez-Barbudo - initial API and implementation |
| * |
| * </copyright> |
| * |
| * $Id: OperationBody.java,v 1.2 2009/01/25 23:12:24 radvorak Exp $ |
| */ |
| package org.eclipse.m2m.qvt.oml.ecore.QVTOperational; |
| |
| import org.eclipse.emf.common.util.EList; |
| import org.eclipse.emf.ecore.EModelElement; |
| import org.eclipse.ocl.ecore.OCLExpression; |
| import org.eclipse.ocl.ecore.Variable; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Operation Body</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.OperationBody#getContent <em>Content</em>}</li> |
| * <li>{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.OperationBody#getOperation <em>Operation</em>}</li> |
| * <li>{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.OperationBody#getVariable <em>Variable</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.QVTOperationalPackage#getOperationBody() |
| * @model |
| * @generated |
| */ |
| public interface OperationBody extends EModelElement { |
| /** |
| * Returns the value of the '<em><b>Content</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.ocl.ecore.OCLExpression}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Content</em>' containment reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Content</em>' containment reference list. |
| * @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.QVTOperationalPackage#getOperationBody_Content() |
| * @model containment="true" |
| * annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='contentOwner'" |
| * @generated |
| */ |
| EList<OCLExpression> getContent(); |
| |
| /** |
| * Returns the value of the '<em><b>Operation</b></em>' container reference. |
| * It is bidirectional and its opposite is '{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ImperativeOperation#getBody <em>Body</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Operation</em>' container reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Operation</em>' container reference. |
| * @see #setOperation(ImperativeOperation) |
| * @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.QVTOperationalPackage#getOperationBody_Operation() |
| * @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ImperativeOperation#getBody |
| * @model opposite="body" |
| * @generated |
| */ |
| ImperativeOperation getOperation(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.OperationBody#getOperation <em>Operation</em>}' container reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Operation</em>' container reference. |
| * @see #getOperation() |
| * @generated |
| */ |
| void setOperation(ImperativeOperation value); |
| |
| /** |
| * Returns the value of the '<em><b>Variable</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.ocl.ecore.Variable}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Variable</em>' containment reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Variable</em>' containment reference list. |
| * @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.QVTOperationalPackage#getOperationBody_Variable() |
| * @model containment="true" ordered="false" |
| * annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='opBody'" |
| * @generated |
| */ |
| EList<Variable> getVariable(); |
| |
| } // OperationBody |