/** */ package fr.inria.diverse.minilang; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>If</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link fr.inria.diverse.minilang.If#getCondition <em>Condition</em>}</li> * <li>{@link fr.inria.diverse.minilang.If#getThen <em>Then</em>}</li> * <li>{@link fr.inria.diverse.minilang.If#getElse <em>Else</em>}</li> * </ul> * * @see fr.inria.diverse.minilang.MinilangPackage#getIf() * @model * @generated */ public interface If extends EObject { /** * 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(BooleanExpression) * @see fr.inria.diverse.minilang.MinilangPackage#getIf_Condition() * @model containment="true" required="true" * @generated */ BooleanExpression getCondition(); /** * Sets the value of the '{@link fr.inria.diverse.minilang.If#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(BooleanExpression value); /** * Returns the value of the '<em><b>Then</b></em>' containment reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Then</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</em>' containment reference. * @see #setThen(Block) * @see fr.inria.diverse.minilang.MinilangPackage#getIf_Then() * @model containment="true" required="true" * @generated */ Block getThen(); /** * Sets the value of the '{@link fr.inria.diverse.minilang.If#getThen <em>Then</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Then</em>' containment reference. * @see #getThen() * @generated */ void setThen(Block value); /** * Returns the value of the '<em><b>Else</b></em>' containment reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Else</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</em>' containment reference. * @see #setElse(Block) * @see fr.inria.diverse.minilang.MinilangPackage#getIf_Else() * @model containment="true" * @generated */ Block getElse(); /** * Sets the value of the '{@link fr.inria.diverse.minilang.If#getElse <em>Else</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Else</em>' containment reference. * @see #getElse() * @generated */ void setElse(Block value); } // If