org.eclipse.xtext.xbase.XSwitchExpression Maven / Gradle / Ivy
/**
* Copyright (c) 2011 itemis AG (http://www.itemis.eu) 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
*/
package org.eclipse.xtext.xbase;
import org.eclipse.emf.common.util.EList;
import org.eclipse.xtext.common.types.JvmFormalParameter;
/**
*
* A representation of the model object 'XSwitch Expression'.
*
*
*
* @since 2.7
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
*
*
*
* The following features are supported:
*
*
* - {@link org.eclipse.xtext.xbase.XSwitchExpression#getSwitch Switch}
* - {@link org.eclipse.xtext.xbase.XSwitchExpression#getCases Cases}
* - {@link org.eclipse.xtext.xbase.XSwitchExpression#getDefault Default}
* - {@link org.eclipse.xtext.xbase.XSwitchExpression#getDeclaredParam Declared Param}
*
*
* @see org.eclipse.xtext.xbase.XbasePackage#getXSwitchExpression()
* @model
* @generated
*/
public interface XSwitchExpression extends XExpression
{
/**
* Returns the value of the 'Switch' containment reference.
*
*
* If the meaning of the 'Switch' containment reference isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Switch' containment reference.
* @see #setSwitch(XExpression)
* @see org.eclipse.xtext.xbase.XbasePackage#getXSwitchExpression_Switch()
* @model containment="true"
* @generated
*/
XExpression getSwitch();
/**
* Sets the value of the '{@link org.eclipse.xtext.xbase.XSwitchExpression#getSwitch Switch}' containment reference.
*
*
* @param value the new value of the 'Switch' containment reference.
* @see #getSwitch()
* @generated
*/
void setSwitch(XExpression value);
/**
* Returns the value of the 'Cases' containment reference list.
* The list contents are of type {@link org.eclipse.xtext.xbase.XCasePart}.
*
*
* If the meaning of the 'Cases' containment reference list isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Cases' containment reference list.
* @see org.eclipse.xtext.xbase.XbasePackage#getXSwitchExpression_Cases()
* @model containment="true"
* @generated
*/
EList getCases();
/**
* Returns the value of the 'Default' containment reference.
*
*
* If the meaning of the 'Default' containment reference isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Default' containment reference.
* @see #setDefault(XExpression)
* @see org.eclipse.xtext.xbase.XbasePackage#getXSwitchExpression_Default()
* @model containment="true"
* @generated
*/
XExpression getDefault();
/**
* Sets the value of the '{@link org.eclipse.xtext.xbase.XSwitchExpression#getDefault Default}' containment reference.
*
*
* @param value the new value of the 'Default' containment reference.
* @see #getDefault()
* @generated
*/
void setDefault(XExpression value);
/**
* Returns the value of the 'Declared Param' containment reference.
*
*
* If the meaning of the 'Declared Param' containment reference isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Declared Param' containment reference.
* @see #setDeclaredParam(JvmFormalParameter)
* @see org.eclipse.xtext.xbase.XbasePackage#getXSwitchExpression_DeclaredParam()
* @model containment="true"
* @generated
*/
JvmFormalParameter getDeclaredParam();
/**
* Sets the value of the '{@link org.eclipse.xtext.xbase.XSwitchExpression#getDeclaredParam Declared Param}' containment reference.
*
*
* @param value the new value of the 'Declared Param' containment reference.
* @see #getDeclaredParam()
* @generated
*/
void setDeclaredParam(JvmFormalParameter value);
} // XSwitchExpression
© 2015 - 2025 Weber Informatics LLC | Privacy Policy