| /** |
| * Copyright (c) 2011, 2016 - Lunifera GmbH (Wien), Loetz GmbH&Co.KG (Heidelberg) |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Based on ideas from Xtext, Xtend, Xcore |
| * |
| * Contributors: |
| * Florian Pirchner - Initial implementation |
| * |
| */ |
| package org.eclipse.osbp.dsl.semantic.common.types; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| import org.eclipse.xtext.common.types.JvmFormalParameter; |
| import org.eclipse.xtext.common.types.JvmTypeReference; |
| |
| import org.eclipse.xtext.xbase.XExpression; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>LOperation</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.osbp.dsl.semantic.common.types.LOperation#getModifier <em>Modifier</em>}</li> |
| * <li>{@link org.eclipse.osbp.dsl.semantic.common.types.LOperation#getType <em>Type</em>}</li> |
| * <li>{@link org.eclipse.osbp.dsl.semantic.common.types.LOperation#getParams <em>Params</em>}</li> |
| * <li>{@link org.eclipse.osbp.dsl.semantic.common.types.LOperation#getBody <em>Body</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.osbp.dsl.semantic.common.types.OSBPTypesPackage#getLOperation() |
| * @generated |
| */ |
| public interface LOperation extends LAnnotationTarget { |
| /** |
| * Returns the value of the '<em><b>Modifier</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Modifier</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>Modifier</em>' containment reference. |
| * @see #setModifier(LModifier) |
| * @see org.eclipse.osbp.dsl.semantic.common.types.OSBPTypesPackage#getLOperation_Modifier() |
| * @generated |
| */ |
| LModifier getModifier(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.dsl.semantic.common.types.LOperation#getModifier <em>Modifier</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Modifier</em>' containment reference. |
| * @see #getModifier() |
| * @generated |
| */ |
| void setModifier(LModifier value); |
| |
| /** |
| * Returns the value of the '<em><b>Type</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Type</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>Type</em>' containment reference. |
| * @see #setType(JvmTypeReference) |
| * @see org.eclipse.osbp.dsl.semantic.common.types.OSBPTypesPackage#getLOperation_Type() |
| * @generated |
| */ |
| JvmTypeReference getType(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.dsl.semantic.common.types.LOperation#getType <em>Type</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Type</em>' containment reference. |
| * @see #getType() |
| * @generated |
| */ |
| void setType(JvmTypeReference value); |
| |
| /** |
| * Returns the value of the '<em><b>Params</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.xtext.common.types.JvmFormalParameter}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Params</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>Params</em>' containment reference list. |
| * @see org.eclipse.osbp.dsl.semantic.common.types.OSBPTypesPackage#getLOperation_Params() |
| * @generated |
| */ |
| EList<JvmFormalParameter> getParams(); |
| |
| /** |
| * Returns the value of the '<em><b>Body</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Body</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>Body</em>' containment reference. |
| * @see #setBody(XExpression) |
| * @see org.eclipse.osbp.dsl.semantic.common.types.OSBPTypesPackage#getLOperation_Body() |
| * @generated |
| */ |
| XExpression getBody(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.dsl.semantic.common.types.LOperation#getBody <em>Body</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Body</em>' containment reference. |
| * @see #getBody() |
| * @generated |
| */ |
| void setBody(XExpression value); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * * |
| * Method to generalize naming conventions for annotation access |
| * <!-- end-model-doc --> |
| * @generated |
| */ |
| EList<LAnnotationDef> getResolvedAnnotations(); |
| |
| } // LOperation |