/** */ package org.example.xbase.entities.entities; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; 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>Operation</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.example.xbase.entities.entities.Operation#getType <em>Type</em>}</li> * <li>{@link org.example.xbase.entities.entities.Operation#getName <em>Name</em>}</li> * <li>{@link org.example.xbase.entities.entities.Operation#getParams <em>Params</em>}</li> * <li>{@link org.example.xbase.entities.entities.Operation#getBody <em>Body</em>}</li> * </ul> * </p> * * @see org.example.xbase.entities.entities.EntitiesPackage#getOperation() * @model * @generated */ public interface Operation extends EObject { /** * 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.example.xbase.entities.entities.EntitiesPackage#getOperation_Type() * @model containment="true" * @generated */ JvmTypeReference getType(); /** * Sets the value of the '{@link org.example.xbase.entities.entities.Operation#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>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.example.xbase.entities.entities.EntitiesPackage#getOperation_Name() * @model * @generated */ String getName(); /** * Sets the value of the '{@link org.example.xbase.entities.entities.Operation#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.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.example.xbase.entities.entities.EntitiesPackage#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.example.xbase.entities.entities.EntitiesPackage#getOperation_Body() * @model containment="true" * @generated */ XExpression getBody(); /** * Sets the value of the '{@link org.example.xbase.entities.entities.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