blob: 294c11c104b063c662461c58cf27a8111539f311 [file] [log] [blame]
/**
* *******************************************************************************
* Copyright (c) 2009 Mia-Software.
* 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:
*
* 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.gmt.modisco.java;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>If Statement</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.gmt.modisco.java.IfStatement#getExpression <em>Expression</em>}</li>
* <li>{@link org.eclipse.gmt.modisco.java.IfStatement#getThenStatement <em>Then Statement</em>}</li>
* <li>{@link org.eclipse.gmt.modisco.java.IfStatement#getElseStatement <em>Else Statement</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.gmt.modisco.java.emf.JavaPackage#getIfStatement()
* @model
* @generated
*/
public interface IfStatement extends Statement {
/**
* 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.gmt.modisco.java.emf.JavaPackage#getIfStatement_Expression()
* @model containment="true" required="true" ordered="false"
* @generated
*/
Expression getExpression();
/**
* Sets the value of the '{@link org.eclipse.gmt.modisco.java.IfStatement#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>Then Statement</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Then Statement</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>Then Statement</em>' containment reference.
* @see #setThenStatement(Statement)
* @see org.eclipse.gmt.modisco.java.emf.JavaPackage#getIfStatement_ThenStatement()
* @model containment="true" required="true" ordered="false"
* @generated
*/
Statement getThenStatement();
/**
* Sets the value of the '{@link org.eclipse.gmt.modisco.java.IfStatement#getThenStatement <em>Then Statement</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Then Statement</em>' containment reference.
* @see #getThenStatement()
* @generated
*/
void setThenStatement(Statement value);
/**
* Returns the value of the '<em><b>Else Statement</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Else Statement</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>Else Statement</em>' containment reference.
* @see #setElseStatement(Statement)
* @see org.eclipse.gmt.modisco.java.emf.JavaPackage#getIfStatement_ElseStatement()
* @model containment="true" ordered="false"
* @generated
*/
Statement getElseStatement();
/**
* Sets the value of the '{@link org.eclipse.gmt.modisco.java.IfStatement#getElseStatement <em>Else Statement</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Else Statement</em>' containment reference.
* @see #getElseStatement()
* @generated
*/
void setElseStatement(Statement value);
} // IfStatement