blob: e145793d17bd0477750272cc416ff5f99530d495 [file] [log] [blame]
/**
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
* 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
*
* Based on ideas from Xtext, Xtend, Xcore
*
* Contributors:
* Christophe Loetz - Initial implementation
*
*/
package org.eclipse.osbp.xtext.functionlibrarydsl;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.xtext.xbase.XExpression;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Function Library Base Function</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.osbp.xtext.functionlibrarydsl.FunctionLibraryBaseFunction#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.functionlibrarydsl.FunctionLibraryBaseFunction#getParams <em>Params</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.functionlibrarydsl.FunctionLibraryBaseFunction#getBody <em>Body</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.osbp.xtext.functionlibrarydsl.FunctionLibraryDSLPackage#getFunctionLibraryBaseFunction()
* @model
* @generated
*/
public interface FunctionLibraryBaseFunction extends EObject {
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.osbp.xtext.functionlibrarydsl.FunctionLibraryDSLPackage#getFunctionLibraryBaseFunction_Name()
* @model unique="false"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.functionlibrarydsl.FunctionLibraryBaseFunction#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Params</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.osbp.xtext.functionlibrarydsl.FunctionLibraryParameter}.
* <!-- 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.xtext.functionlibrarydsl.FunctionLibraryDSLPackage#getFunctionLibraryBaseFunction_Params()
* @model containment="true"
* @generated
*/
EList<FunctionLibraryParameter> 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.xtext.functionlibrarydsl.FunctionLibraryDSLPackage#getFunctionLibraryBaseFunction_Body()
* @model containment="true"
* @generated
*/
XExpression getBody();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.functionlibrarydsl.FunctionLibraryBaseFunction#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);
} // FunctionLibraryBaseFunction