/** * Copyright (c) 2015 committers of YAKINDU 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: * committers of YAKINDU - initial API and implementation * */ package org.yakindu.sct.model.sexec; import org.eclipse.emf.common.util.EList; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>State Switch</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.yakindu.sct.model.sexec.StateSwitch#getCases <em>Cases</em>}</li> * <li>{@link org.yakindu.sct.model.sexec.StateSwitch#getStateConfigurationIdx <em>State Configuration Idx</em>}</li> * <li>{@link org.yakindu.sct.model.sexec.StateSwitch#getHistoryRegion <em>History Region</em>}</li> * </ul> * * @see org.yakindu.sct.model.sexec.SexecPackage#getStateSwitch() * @model * @generated */ public interface StateSwitch extends Step { /** * Returns the value of the '<em><b>Cases</b></em>' containment reference list. * The list contents are of type {@link org.yakindu.sct.model.sexec.StateCase}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Cases</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>Cases</em>' containment reference list. * @see org.yakindu.sct.model.sexec.SexecPackage#getStateSwitch_Cases() * @model containment="true" * @generated */ EList<StateCase> getCases(); /** * Returns the value of the '<em><b>State Configuration Idx</b></em>' attribute. * The default value is <code>"0"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>State Configuration Idx</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>State Configuration Idx</em>' attribute. * @see #setStateConfigurationIdx(int) * @see org.yakindu.sct.model.sexec.SexecPackage#getStateSwitch_StateConfigurationIdx() * @model default="0" * @generated */ int getStateConfigurationIdx(); /** * Sets the value of the '{@link org.yakindu.sct.model.sexec.StateSwitch#getStateConfigurationIdx <em>State Configuration Idx</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>State Configuration Idx</em>' attribute. * @see #getStateConfigurationIdx() * @generated */ void setStateConfigurationIdx(int value); /** * Returns the value of the '<em><b>History Region</b></em>' reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>History Region</em>' reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>History Region</em>' reference. * @see #setHistoryRegion(ExecutionRegion) * @see org.yakindu.sct.model.sexec.SexecPackage#getStateSwitch_HistoryRegion() * @model * @generated */ ExecutionRegion getHistoryRegion(); /** * Sets the value of the '{@link org.yakindu.sct.model.sexec.StateSwitch#getHistoryRegion <em>History Region</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>History Region</em>' reference. * @see #getHistoryRegion() * @generated */ void setHistoryRegion(ExecutionRegion value); } // StateSwitch