blob: 73e7b882464fb1bb2e8b79181f4fae4bde7133e9 [file] [log] [blame]
/**
* *******************************************************************************
* Copyright (c) 2009, 2019 Mia-Software and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
*
* Fabien Giquel (Mia-Software) - initial API and implementation
* Gregoire DUPE (Mia-Software) - initial API and implementation
* *******************************************************************************
*/
package org.eclipse.modisco.java;
import org.eclipse.modisco.java.Expression;
import org.eclipse.modisco.java.Statement;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Switch Case</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.modisco.java.SwitchCase#isDefault <em>Default</em>}</li>
* <li>{@link org.eclipse.modisco.java.SwitchCase#getExpression <em>Expression</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.modisco.java.nousages.cdo.meta.JavaPackage#getSwitchCase()
* @model
* @generated
*/
public interface SwitchCase extends Statement {
/**
* Returns the value of the '<em><b>Default</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Default</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Default</em>' attribute.
* @see #setDefault(boolean)
* @see org.eclipse.modisco.java.nousages.cdo.meta.JavaPackage#getSwitchCase_Default()
* @model unique="false" required="true" ordered="false"
* @generated
*/
boolean isDefault();
/**
* Sets the value of the '{@link org.eclipse.modisco.java.SwitchCase#isDefault <em>Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Default</em>' attribute.
* @see #isDefault()
* @generated
*/
void setDefault(boolean value);
/**
* Returns the value of the '<em><b>Expression</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>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>Expression</em>' containment reference.
* @see #setExpression(Expression)
* @see org.eclipse.modisco.java.nousages.cdo.meta.JavaPackage#getSwitchCase_Expression()
* @model containment="true" ordered="false"
* @generated
*/
Expression getExpression();
/**
* Sets the value of the '{@link org.eclipse.modisco.java.SwitchCase#getExpression <em>Expression</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Expression</em>' containment reference.
* @see #getExpression()
* @generated
*/
void setExpression(Expression value);
} // SwitchCase