blob: ea0dc4548d444252897bc0648b78ac71c2e97d17 [file] [log] [blame]
/**
* Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf), 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
*
* Contributors:
* Florian Pirchner - Initial implementation
*
* generated by Xtext 2.11.0
*/
package org.eclipse.xtext.example.domainmodel.domainmodel;
import org.eclipse.emf.common.util.EList;
import org.eclipse.xtext.common.types.JvmFormalParameter;
import org.eclipse.xtext.xbase.XExpression;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Operation</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.xtext.example.domainmodel.domainmodel.Operation#getParams <em>Params</em>}</li>
* <li>{@link org.eclipse.xtext.example.domainmodel.domainmodel.Operation#getBody <em>Body</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.xtext.example.domainmodel.domainmodel.DomainmodelPackage#getOperation()
* @model
* @generated
*/
public interface Operation extends Feature
{
/**
* 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.xtext.example.domainmodel.domainmodel.DomainmodelPackage#getOperation_Params()
* @model containment="true"
* @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.xtext.example.domainmodel.domainmodel.DomainmodelPackage#getOperation_Body()
* @model containment="true"
* @generated
*/
XExpression getBody();
/**
* Sets the value of the '{@link org.eclipse.xtext.example.domainmodel.domainmodel.Operation#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);
} // Operation