/** * <copyright> * Copyright (c) 2008, 2009 Open Canarias S.L. 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: * A. Sanchez-Barbudo - initial API and implementation * </copyright> * * $Id: SwitchExp.java,v 1.2 2009/01/25 23:10:43 radvorak Exp $ */ package org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL; import org.eclipse.emf.common.util.EList; import org.eclipse.ocl.ecore.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.ecore.ImperativeOCL.SwitchExp#getAlternativePart <em>Alternative Part</em>}</li> * <li>{@link org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.SwitchExp#getElsePart <em>Else Part</em>}</li> * </ul> * </p> * * @see org.eclipse.m2m.qvt.oml.ecore.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.ecore.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.ecore.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.ecore.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.ecore.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