blob: 6b42023d811ac67d0a8af705b45326aafa77c690 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2011 SAP AG 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:
* SAP AG - initial API and implementation
******************************************************************************
* $Id: VariableExpression.java,v 1.2 2011/03/05 21:51:23 auhl Exp $
*/
package dataaccess.expressions;
import data.classes.NamedValue;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Variable Expression</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* The variable referenced by this type of expression must be visible within the scope where this expression occurs.
*
* TODO: How to determine the block containing this VariableExpression? This will be important to determine if the variable is visible.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link dataaccess.expressions.VariableExpression#getVariable <em>Variable</em>}</li>
* </ul>
* </p>
*
* @see dataaccess.expressions.ExpressionsPackage#getVariableExpression()
* @model annotation="http://www.eclipse.org/emf/2002/Ecore/OCL VariableExpressionType='self.getType().conformsTo(self.variable.getType())'"
* annotation="http://www.eclipse.org/emf/2002/Ecore constraints='VariableExpressionType'"
* @generated
*/
public interface VariableExpression extends Expression {
/**
* Returns the value of the '<em><b>Variable</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Variable</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Variable</em>' reference.
* @see #setVariable(NamedValue)
* @see dataaccess.expressions.ExpressionsPackage#getVariableExpression_Variable()
* @model required="true"
* @generated
*/
NamedValue getVariable();
/**
* Sets the value of the '{@link dataaccess.expressions.VariableExpression#getVariable <em>Variable</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Variable</em>' reference.
* @see #getVariable()
* @generated
*/
void setVariable(NamedValue value);
} // VariableExpression