blob: df2c8c69483f082c32909ba16b4d3152ddba18cd [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 (Loetz GmbH&Co.KG) - Initial implementation
*
*/
package org.eclipse.osbp.xtext.entitymock;
import org.eclipse.emf.common.util.EList;
import org.eclipse.xtext.common.types.JvmTypeReference;
import org.eclipse.xtext.xbase.XExpression;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Entity Mock Object Function</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockObjectFunction#getOftype <em>Oftype</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockObjectFunction#getParams <em>Params</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockObjectFunction#getBody <em>Body</em>}</li>
* </ul>
*
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockObjectFunction()
* @model
* @generated
*/
public interface EntityMockObjectFunction extends IEntityMockObjectAttribute, IEntityMockObjectUsable {
/**
* Returns the value of the '<em><b>Oftype</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Oftype</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>Oftype</em>' containment reference.
* @see #setOftype(JvmTypeReference)
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockObjectFunction_Oftype()
* @model containment="true"
* @generated
*/
JvmTypeReference getOftype();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.EntityMockObjectFunction#getOftype <em>Oftype</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Oftype</em>' containment reference.
* @see #getOftype()
* @generated
*/
void setOftype(JvmTypeReference 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.entitymock.EntityMockObjectFunctionParameter}.
* <!-- 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.entitymock.EntityMockDSLPackage#getEntityMockObjectFunction_Params()
* @model containment="true"
* @generated
*/
EList<EntityMockObjectFunctionParameter> 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.entitymock.EntityMockDSLPackage#getEntityMockObjectFunction_Body()
* @model containment="true"
* @generated
*/
XExpression getBody();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.EntityMockObjectFunction#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);
} // EntityMockObjectFunction