/** * <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: AltExp.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; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Alt Exp</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.AltExp#getBody <em>Body</em>}</li> * <li>{@link org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.AltExp#getCondition <em>Condition</em>}</li> * </ul> * </p> * * @see org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.ImperativeOCLPackage#getAltExp() * @model * @generated */ public interface AltExp 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#getAltExp_Body() * @model containment="true" required="true" * annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='altBodyOwner'" * @generated */ OCLExpression getBody(); /** * Sets the value of the '{@link org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.AltExp#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>Condition</b></em>' containment reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Condition</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>Condition</em>' containment reference. * @see #setCondition(OCLExpression) * @see org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.ImperativeOCLPackage#getAltExp_Condition() * @model containment="true" required="true" * annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='altCondOwner'" * @generated */ OCLExpression getCondition(); /** * Sets the value of the '{@link org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.AltExp#getCondition <em>Condition</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Condition</em>' containment reference. * @see #getCondition() * @generated */ void setCondition(OCLExpression value); } // AltExp