blob: db67adbf65e77b4542fc45ee31de14fc978e2816 [file] [log] [blame]
/**
* * Copyright (c) 2006-2010 Istvan Rath and Daniel Varro
* * 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
* *
* * Contributors:
* * Istvan Rath, Daniel Varro - initial API and implementation
*
*/
package org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>ASM Function</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.ASMFunction#getInitialValues <em>Initial Values</em>}</li>
* <li>{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.ASMFunction#getArity <em>Arity</em>}</li>
* <li>{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.ASMFunction#getNamespace <em>Namespace</em>}</li>
* <li>{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.ASMFunction#getReturnType <em>Return Type</em>}</li>
* <li>{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.ASMFunction#getArgumentTypes <em>Argument Types</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.DefinitionsPackage#getASMFunction()
* @model
* @generated
*/
public interface ASMFunction extends FunctionDefinition
{
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String copyright = " * Copyright (c) 2006-2010 Istvan Rath and Daniel Varro\r\n * All rights reserved. This program and the accompanying materials\r\n * are made available under the terms of the Eclipse Public License v1.0\r\n * which accompanies this distribution, and is available at\r\n * http://www.eclipse.org/legal/epl-v10.html\r\n *\r\n * Contributors:\r\n * Istvan Rath, Daniel Varro - initial API and implementation\r\n";
/**
* Returns the value of the '<em><b>Initial Values</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.InitialValue}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Initial Values</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>Initial Values</em>' containment reference list.
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.DefinitionsPackage#getASMFunction_InitialValues()
* @model containment="true" ordered="false"
* @generated
*/
EList<InitialValue> getInitialValues();
/**
* Returns the value of the '<em><b>Arity</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Arity</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Arity</em>' attribute.
* @see #setArity(int)
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.DefinitionsPackage#getASMFunction_Arity()
* @model unique="false" required="true" ordered="false"
* @generated
*/
int getArity();
/**
* Sets the value of the '{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.ASMFunction#getArity <em>Arity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Arity</em>' attribute.
* @see #getArity()
* @generated
*/
void setArity(int value);
/**
* Returns the value of the '<em><b>Namespace</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.Machine#getAsmFunctionDefinitions <em>Asm Function Definitions</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Namespace</em>' container reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Namespace</em>' container reference.
* @see #setNamespace(Machine)
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.DefinitionsPackage#getASMFunction_Namespace()
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.Machine#getAsmFunctionDefinitions
* @model opposite="asmFunctionDefinitions" required="true" transient="false"
* @generated
*/
Machine getNamespace();
/**
* Sets the value of the '{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.ASMFunction#getNamespace <em>Namespace</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Namespace</em>' container reference.
* @see #getNamespace()
* @generated
*/
void setNamespace(Machine value);
/**
* Returns the value of the '<em><b>Return Type</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Return 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>Return Type</em>' containment reference.
* @see #setReturnType(TypeConstant)
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.DefinitionsPackage#getASMFunction_ReturnType()
* @model containment="true"
* @generated
*/
TypeConstant getReturnType();
/**
* Sets the value of the '{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.ASMFunction#getReturnType <em>Return Type</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Return Type</em>' containment reference.
* @see #getReturnType()
* @generated
*/
void setReturnType(TypeConstant value);
/**
* Returns the value of the '<em><b>Argument Types</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.TypeConstant}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Argument Types</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>Argument Types</em>' containment reference list.
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.DefinitionsPackage#getASMFunction_ArgumentTypes()
* @model containment="true"
* @generated
*/
EList<TypeConstant> getArgumentTypes();
} // ASMFunction