| /** |
| * <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 v2.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v20.html |
| * |
| * Contributors: |
| * E.D.Willink - Initial API and implementation |
| * Adolfo Sanchez-Barbudo (University of York) - Bug397429 |
| * </copyright> |
| */ |
| package org.eclipse.qvto.examples.pivot.imperativeocl; |
| |
| import org.eclipse.ocl.pivot.OCLExpression; |
| import org.eclipse.ocl.pivot.Variable; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Compute Exp</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.qvto.examples.pivot.imperativeocl.ComputeExp#getBody <em>Body</em>}</li> |
| * <li>{@link org.eclipse.qvto.examples.pivot.imperativeocl.ComputeExp#getReturnedElement <em>Returned Element</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.qvto.examples.pivot.imperativeocl.ImperativeOCLPackage#getComputeExp() |
| * @model |
| * @generated |
| */ |
| public interface ComputeExp extends ImperativeExpression { |
| /** |
| * Returns the value of the '<em><b>Body</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Body</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>Body</em>' containment reference. |
| * @see #setBody(OCLExpression) |
| * @see org.eclipse.qvto.examples.pivot.imperativeocl.ImperativeOCLPackage#getComputeExp_Body() |
| * @model containment="true" required="true" |
| * annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='computeOwner'" |
| * @generated |
| */ |
| OCLExpression getBody(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.qvto.examples.pivot.imperativeocl.ComputeExp#getBody <em>Body</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Body</em>' containment reference. |
| * @see #getBody() |
| * @generated |
| */ |
| void setBody(OCLExpression value); |
| |
| /** |
| * Returns the value of the '<em><b>Returned Element</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Returned Element</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>Returned Element</em>' containment reference. |
| * @see #setReturnedElement(Variable) |
| * @see org.eclipse.qvto.examples.pivot.imperativeocl.ImperativeOCLPackage#getComputeExp_ReturnedElement() |
| * @model containment="true" required="true" |
| * annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='computeOwner'" |
| * @generated |
| */ |
| Variable getReturnedElement(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.qvto.examples.pivot.imperativeocl.ComputeExp#getReturnedElement <em>Returned Element</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Returned Element</em>' containment reference. |
| * @see #getReturnedElement() |
| * @generated |
| */ |
| void setReturnedElement(Variable value); |
| |
| } // ComputeExp |