| /******************************************************************************* |
| * Copyright (c) 2014 Bosch Software Innovations GmbH and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * and Eclipse Distribution License v1.0 which accompany this distribution. |
| * |
| * The Eclipse Public License is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * The Eclipse Distribution License is available at |
| * http://www.eclipse.org/org/documents/edl-v10.php. |
| * |
| * Contributors: |
| * Bosch Software Innovations GmbH - Please refer to git log |
| * |
| *******************************************************************************/ |
| /** |
| */ |
| package org.eclipse.vorto.functionblock; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| import org.eclipse.emf.ecore.EObject; |
| |
| /** |
| * <!-- 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.vorto.functionblock.Operation#getMethodName <em>Method Name</em>}</li> |
| * <li>{@link org.eclipse.vorto.functionblock.Operation#getParams <em>Params</em>}</li> |
| * <li>{@link org.eclipse.vorto.functionblock.Operation#getReturnType <em>Return Type</em>}</li> |
| * <li>{@link org.eclipse.vorto.functionblock.Operation#getDescription <em>Description</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.vorto.functionblock.FunctionblockPackage#getOperation() |
| * @model |
| * @generated |
| */ |
| public interface Operation extends EObject { |
| /** |
| * Returns the value of the '<em><b>Method Name</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Method 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>Method Name</em>' attribute. |
| * @see #setMethodName(String) |
| * @see org.eclipse.vorto.functionblock.FunctionblockPackage#getOperation_MethodName() |
| * @model |
| * @generated |
| */ |
| String getMethodName(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.vorto.functionblock.Operation#getMethodName <em>Method Name</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Method Name</em>' attribute. |
| * @see #getMethodName() |
| * @generated |
| */ |
| void setMethodName(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Params</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.vorto.functionblock.Parameter}. |
| * <!-- 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.vorto.functionblock.FunctionblockPackage#getOperation_Params() |
| * @model containment="true" |
| * @generated |
| */ |
| EList<Parameter> getParams(); |
| |
| /** |
| * 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(ReturnType) |
| * @see org.eclipse.vorto.functionblock.FunctionblockPackage#getOperation_ReturnType() |
| * @model containment="true" |
| * @generated |
| */ |
| ReturnType getReturnType(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.vorto.functionblock.Operation#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(ReturnType value); |
| |
| /** |
| * Returns the value of the '<em><b>Description</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Description</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Description</em>' attribute. |
| * @see #setDescription(String) |
| * @see org.eclipse.vorto.functionblock.FunctionblockPackage#getOperation_Description() |
| * @model |
| * @generated |
| */ |
| String getDescription(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.vorto.functionblock.Operation#getDescription <em>Description</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Description</em>' attribute. |
| * @see #getDescription() |
| * @generated |
| */ |
| void setDescription(String value); |
| |
| } // Operation |