/** * <copyright> * </copyright> * * $Id: SwitchExp.java,v 1.2 2009/01/25 23:11:18 radvorak Exp $ */ package org.eclipse.m2m.qvt.oml.emof.ImperativeOCL; import org.eclipse.emf.common.util.EList; import org.eclipse.qvt.declarative.emof.EssentialOCL.OclExpression; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Switch Exp</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.eclipse.m2m.qvt.oml.emof.ImperativeOCL.SwitchExp#getAlternativePart <em>Alternative Part</em>}</li> * <li>{@link org.eclipse.m2m.qvt.oml.emof.ImperativeOCL.SwitchExp#getElsePart <em>Else Part</em>}</li> * </ul> * </p> * * @see org.eclipse.m2m.qvt.oml.emof.ImperativeOCL.ImperativeOCLPackage#getSwitchExp() * @model * @generated */ public interface SwitchExp extends ImperativeExpression { /** * Returns the value of the '<em><b>Alternative Part</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.m2m.qvt.oml.emof.ImperativeOCL.AltExp}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Alternative Part</em>' containment reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Alternative Part</em>' containment reference list. * @see org.eclipse.m2m.qvt.oml.emof.ImperativeOCL.ImperativeOCLPackage#getSwitchExp_AlternativePart() * @model containment="true" * annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='altOwner'" * @generated */ EList<AltExp> getAlternativePart(); /** * Returns the value of the '<em><b>Else Part</b></em>' containment reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Else Part</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 Part</em>' containment reference. * @see #setElsePart(OclExpression) * @see org.eclipse.m2m.qvt.oml.emof.ImperativeOCL.ImperativeOCLPackage#getSwitchExp_ElsePart() * @model containment="true" * annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='elsePartOwner'" * @generated */ OclExpression getElsePart(); /** * Sets the value of the '{@link org.eclipse.m2m.qvt.oml.emof.ImperativeOCL.SwitchExp#getElsePart <em>Else Part</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Else Part</em>' containment reference. * @see #getElsePart() * @generated */ void setElsePart(OclExpression value); } // SwitchExp