| /**
|
| * *******************************************************************************
|
| * Copyright (c) 2009, 2019 Mia-Software 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:
|
| *
|
| * Sebastien Minguet (Mia-Software) - initial API and implementation
|
| * Frederic Madiot (Mia-Software) - initial API and implementation
|
| * Fabien Giquel (Mia-Software) - initial API and implementation
|
| * Gabriel Barbier (Mia-Software) - initial API and implementation
|
| * Erwan Breton (Sodifrance) - initial API and implementation
|
| * Romain Dervaux (Mia-Software) - initial API and implementation
|
| * *******************************************************************************
|
| *
|
| * $Id$
|
| */ |
| package org.eclipse.modisco.java;
|
|
|
| import org.eclipse.modisco.java.Expression;
|
| import org.eclipse.modisco.java.SingleVariableDeclaration;
|
| import org.eclipse.modisco.java.Statement;
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * A representation of the model object '<em><b>Enhanced For Statement</b></em>'.
|
| * <!-- end-user-doc -->
|
| *
|
| * <p>
|
| * The following features are supported:
|
| * <ul>
|
| * <li>{@link org.eclipse.modisco.java.EnhancedForStatement#getBody <em>Body</em>}</li>
|
| * <li>{@link org.eclipse.modisco.java.EnhancedForStatement#getExpression <em>Expression</em>}</li>
|
| * <li>{@link org.eclipse.modisco.java.EnhancedForStatement#getParameter <em>Parameter</em>}</li>
|
| * </ul>
|
| * </p>
|
| *
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getEnhancedForStatement()
|
| * @model
|
| * @generated
|
| */
|
| public interface EnhancedForStatement extends Statement {
|
| /**
|
| * 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(Statement)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getEnhancedForStatement_Body()
|
| * @model containment="true" required="true" ordered="false"
|
| * @generated
|
| */
|
| Statement getBody();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.EnhancedForStatement#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(Statement value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Expression</b></em>' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Expression</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>Expression</em>' containment reference.
|
| * @see #setExpression(Expression)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getEnhancedForStatement_Expression()
|
| * @model containment="true" required="true" ordered="false"
|
| * @generated
|
| */
|
| Expression getExpression();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.EnhancedForStatement#getExpression <em>Expression</em>}' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Expression</em>' containment reference.
|
| * @see #getExpression()
|
| * @generated
|
| */
|
| void setExpression(Expression value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Parameter</b></em>' containment reference.
|
| * It is bidirectional and its opposite is '{@link org.eclipse.modisco.java.SingleVariableDeclaration#getEnhancedForStatement <em>Enhanced For Statement</em>}'.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Parameter</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>Parameter</em>' containment reference.
|
| * @see #setParameter(SingleVariableDeclaration)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getEnhancedForStatement_Parameter()
|
| * @see org.eclipse.modisco.java.SingleVariableDeclaration#getEnhancedForStatement
|
| * @model opposite="enhancedForStatement" containment="true" required="true" ordered="false"
|
| * @generated
|
| */
|
| SingleVariableDeclaration getParameter();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.EnhancedForStatement#getParameter <em>Parameter</em>}' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Parameter</em>' containment reference.
|
| * @see #getParameter()
|
| * @generated
|
| */
|
| void setParameter(SingleVariableDeclaration value);
|
|
|
| } // EnhancedForStatement
|