/** * <copyright> * Copyright (c) 2013 Willink Transformations, University of York, 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: * E.D.Willink - Initial API and implementation * Adolfo Sanchez-Barbudo (University of York) - Bug397429 * </copyright> */ package org.eclipse.qvto.examples.pivot.qvtoperational; import org.eclipse.emf.common.util.EList; import org.eclipse.ocl.pivot.Element; import org.eclipse.ocl.pivot.OCLExpression; import org.eclipse.ocl.pivot.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: * </p> * <ul> * <li>{@link org.eclipse.qvto.examples.pivot.qvtoperational.OperationBody#getContent <em>Content</em>}</li> * <li>{@link org.eclipse.qvto.examples.pivot.qvtoperational.OperationBody#getOperation <em>Operation</em>}</li> * <li>{@link org.eclipse.qvto.examples.pivot.qvtoperational.OperationBody#getVariable <em>Variable</em>}</li> * </ul> * * @see org.eclipse.qvto.examples.pivot.qvtoperational.QVTOperationalPackage#getOperationBody() * @model * @generated */ public interface OperationBody extends Element { /** * Returns the value of the '<em><b>Content</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.ocl.pivot.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.qvto.examples.pivot.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.qvto.examples.pivot.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.qvto.examples.pivot.qvtoperational.QVTOperationalPackage#getOperationBody_Operation() * @see org.eclipse.qvto.examples.pivot.qvtoperational.ImperativeOperation#getBody * @model opposite="body" resolveProxies="false" * @generated */ ImperativeOperation getOperation(); /** * Sets the value of the '{@link org.eclipse.qvto.examples.pivot.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.pivot.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.qvto.examples.pivot.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