Function.java 4.89 KB
/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Function</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams.Function#getReturnType <em>Return Type</em>}</li>
 *   <li>{@link fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams.Function#getParameter <em>Parameter</em>}</li>
 *   <li>{@link fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams.Function#getName <em>Name</em>}</li>
 *   <li>{@link fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams.Function#getSequentialStatement <em>Sequential Statement</em>}</li>
 * </ul>
 * </p>
 *
 * @see fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams.VhdlamsPackage#getFunction()
 * @model
 * @generated
 */
public interface Function extends Statement {
	/**
	 * Returns the value of the '<em><b>Return Type</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Return Type</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Return Type</em>' reference.
	 * @see #setReturnType(Type)
	 * @see fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams.VhdlamsPackage#getFunction_ReturnType()
	 * @model
	 * @generated
	 */
	Type getReturnType();

	/**
	 * Sets the value of the '{@link fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams.Function#getReturnType <em>Return Type</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Return Type</em>' reference.
	 * @see #getReturnType()
	 * @generated
	 */
	void setReturnType(Type value);

	/**
	 * Returns the value of the '<em><b>Parameter</b></em>' containment reference list.
	 * The list contents are of type {@link fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams.Parameter}.
	 * It is bidirectional and its opposite is '{@link fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams.Parameter#getOwnerFunction <em>Owner Function</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Parameter</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>Parameter</em>' containment reference list.
	 * @see fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams.VhdlamsPackage#getFunction_Parameter()
	 * @see fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams.Parameter#getOwnerFunction
	 * @model opposite="ownerFunction" containment="true"
	 * @generated
	 */
	EList<Parameter> getParameter();

	/**
	 * 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 fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams.VhdlamsPackage#getFunction_Name()
	 * @model
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams.Function#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>Sequential Statement</b></em>' containment reference.
	 * It is bidirectional and its opposite is '{@link fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams.SequentialStatement#getOwnerFunction <em>Owner Function</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Sequential Statement</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>Sequential Statement</em>' containment reference.
	 * @see #setSequentialStatement(SequentialStatement)
	 * @see fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams.VhdlamsPackage#getFunction_SequentialStatement()
	 * @see fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams.SequentialStatement#getOwnerFunction
	 * @model opposite="ownerFunction" containment="true" required="true"
	 * @generated
	 */
	SequentialStatement getSequentialStatement();

	/**
	 * Sets the value of the '{@link fr.femtost.disc.eclipse.vhdlamsmetamodel.vhdlams.Function#getSequentialStatement <em>Sequential Statement</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Sequential Statement</em>' containment reference.
	 * @see #getSequentialStatement()
	 * @generated
	 */
	void setSequentialStatement(SequentialStatement value);

} // Function