/** * <copyright> * Copyright (c) 2008 Open Canarias S.L. 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: ComputeExp.java,v 1.1 2008/09/02 20:01:45 radvorak Exp $ */ package org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL; import org.eclipse.ocl.ecore.OCLExpression; import org.eclipse.ocl.ecore.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: * <ul> * <li>{@link org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.ComputeExp#getBody <em>Body</em>}</li> * <li>{@link org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.ComputeExp#getReturnedElement <em>Returned Element</em>}</li> * </ul> * </p> * * @see org.eclipse.m2m.qvt.oml.ecore.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.m2m.qvt.oml.ecore.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.m2m.qvt.oml.ecore.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.m2m.qvt.oml.ecore.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.m2m.qvt.oml.ecore.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