/******************************************************************************* * Copyright (c) 2013, 2014 CEA LIST 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(CEA LIST) - Initial API and implementation *******************************************************************************/ package org.eclipse.ocl.examples.codegen.cgmodel; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>CG If Exp</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.eclipse.ocl.examples.codegen.cgmodel.CGIfExp#getCondition <em>Condition</em>}</li> * <li>{@link org.eclipse.ocl.examples.codegen.cgmodel.CGIfExp#getThenExpression <em>Then Expression</em>}</li> * <li>{@link org.eclipse.ocl.examples.codegen.cgmodel.CGIfExp#getElseExpression <em>Else Expression</em>}</li> * </ul> * * @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGIfExp() * @generated */ public interface CGIfExp extends CGValuedElement { /** * Returns the value of the '<em><b>Condition</b></em>' containment reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Condition</em>' 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(CGValuedElement) * @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGIfExp_Condition() * @generated */ CGValuedElement getCondition(); /** * Sets the value of the '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGIfExp#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(CGValuedElement 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>' 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(CGValuedElement) * @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGIfExp_ThenExpression() * @generated */ CGValuedElement getThenExpression(); /** * Sets the value of the '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGIfExp#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(CGValuedElement 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>' 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(CGValuedElement) * @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGIfExp_ElseExpression() * @generated */ CGValuedElement getElseExpression(); /** * Sets the value of the '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGIfExp#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(CGValuedElement value); } // CGIfExp