blob: 6e1cb972426dadd86827b5f4379265cd03a816d3 [file] [log] [blame]
/**
* <copyright>
*
* Copyright (c) 2007, 2008 E.D.Willink 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:
* E.D.Willink - initial API and implementation
*
* </copyright>
*
* $Id: IfExp.java,v 1.1 2008/07/23 09:56:32 qglineur Exp $
*/
package org.eclipse.qvt.declarative.emof.EssentialOCL;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>If Exp</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.qvt.declarative.emof.EssentialOCL.IfExp#getCondition <em>Condition</em>}</li>
* <li>{@link org.eclipse.qvt.declarative.emof.EssentialOCL.IfExp#getElseExpression <em>Else Expression</em>}</li>
* <li>{@link org.eclipse.qvt.declarative.emof.EssentialOCL.IfExp#getThenExpression <em>Then Expression</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.qvt.declarative.emof.EssentialOCL.EssentialOCLPackage#getIfExp()
* @model
* @generated
*/
public interface IfExp extends OclExpression {
/**
* 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(OclExpression)
* @see org.eclipse.qvt.declarative.emof.EssentialOCL.EssentialOCLPackage#getIfExp_Condition()
* @model containment="true" required="true"
* annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='ifOwner'"
* @generated
*/
OclExpression getCondition();
/**
* Sets the value of the '{@link org.eclipse.qvt.declarative.emof.EssentialOCL.IfExp#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(OclExpression value);
/**
* Returns the value of the '<em><b>Else Expression</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Else 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>Else Expression</em>' containment reference.
* @see #setElseExpression(OclExpression)
* @see org.eclipse.qvt.declarative.emof.EssentialOCL.EssentialOCLPackage#getIfExp_ElseExpression()
* @model containment="true" required="true"
* annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='elseOwner'"
* @generated
*/
OclExpression getElseExpression();
/**
* Sets the value of the '{@link org.eclipse.qvt.declarative.emof.EssentialOCL.IfExp#getElseExpression <em>Else Expression</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Else Expression</em>' containment reference.
* @see #getElseExpression()
* @generated
*/
void setElseExpression(OclExpression value);
/**
* Returns the value of the '<em><b>Then Expression</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Then 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>Then Expression</em>' containment reference.
* @see #setThenExpression(OclExpression)
* @see org.eclipse.qvt.declarative.emof.EssentialOCL.EssentialOCLPackage#getIfExp_ThenExpression()
* @model containment="true" required="true"
* annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='thenOwner'"
* @generated
*/
OclExpression getThenExpression();
/**
* Sets the value of the '{@link org.eclipse.qvt.declarative.emof.EssentialOCL.IfExp#getThenExpression <em>Then Expression</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Then Expression</em>' containment reference.
* @see #getThenExpression()
* @generated
*/
void setThenExpression(OclExpression value);
} // IfExp