/** * <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: VariableInitExp.java,v 1.1 2008/09/02 20:01:44 radvorak Exp $ */ package org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL; import org.eclipse.ocl.ecore.Variable; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Variable Init Exp</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.VariableInitExp#getReferredVariable <em>Referred Variable</em>}</li> * <li>{@link org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.VariableInitExp#isWithResult <em>With Result</em>}</li> * </ul> * </p> * * @see org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.ImperativeOCLPackage#getVariableInitExp() * @model * @generated */ public interface VariableInitExp extends ImperativeExpression { /** * Returns the value of the '<em><b>Referred Variable</b></em>' containment reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Referred Variable</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>Referred Variable</em>' containment reference. * @see #setReferredVariable(Variable) * @see org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.ImperativeOCLPackage#getVariableInitExp_ReferredVariable() * @model containment="true" required="true" * annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='declaration'" * @generated */ Variable getReferredVariable(); /** * Sets the value of the '{@link org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.VariableInitExp#getReferredVariable <em>Referred Variable</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Referred Variable</em>' containment reference. * @see #getReferredVariable() * @generated */ void setReferredVariable(Variable value); /** * Returns the value of the '<em><b>With Result</b></em>' attribute. * The default value is <code>"false"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>With Result</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>With Result</em>' attribute. * @see #setWithResult(boolean) * @see org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.ImperativeOCLPackage#getVariableInitExp_WithResult() * @model default="false" * @generated */ boolean isWithResult(); /** * Sets the value of the '{@link org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.VariableInitExp#isWithResult <em>With Result</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>With Result</em>' attribute. * @see #isWithResult() * @generated */ void setWithResult(boolean value); } // VariableInitExp