| /** |
| * Copyright (c) 2018 CEA |
| * |
| * 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: |
| * Jérémie Tatibouet (CEA) jeremie.tatibouet@cea.fr - Initial API and implementation |
| * Benoit Maggi (CEA) benoit.maggi@cea.fr - Initial API and implementation |
| * Shuai Li (CEA) shuai.li@cea.fr - Integration of sensiNact and Web of Things Thing Description |
| * |
| */ |
| package org.eclipse.papyrus.iotml.sensinact; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| import org.eclipse.emf.ecore.EObject; |
| |
| import org.eclipse.uml2.uml.Operation; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Access Method</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.papyrus.iotml.sensinact.AccessMethod#getType <em>Type</em>}</li> |
| * <li>{@link org.eclipse.papyrus.iotml.sensinact.AccessMethod#getParameters <em>Parameters</em>}</li> |
| * <li>{@link org.eclipse.papyrus.iotml.sensinact.AccessMethod#getBase_Operation <em>Base Operation</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.papyrus.iotml.sensinact.SensinactPackage#getAccessMethod() |
| * @model |
| * @generated |
| */ |
| public interface AccessMethod extends EObject { |
| /** |
| * Returns the value of the '<em><b>Type</b></em>' attribute. |
| * The literals are from the enumeration {@link org.eclipse.papyrus.iotml.sensinact.AccessMethodType}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Type</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Type</em>' attribute. |
| * @see org.eclipse.papyrus.iotml.sensinact.AccessMethodType |
| * @see #setType(AccessMethodType) |
| * @see org.eclipse.papyrus.iotml.sensinact.SensinactPackage#getAccessMethod_Type() |
| * @model required="true" ordered="false" |
| * @generated |
| */ |
| AccessMethodType getType(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.iotml.sensinact.AccessMethod#getType <em>Type</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Type</em>' attribute. |
| * @see org.eclipse.papyrus.iotml.sensinact.AccessMethodType |
| * @see #getType() |
| * @generated |
| */ |
| void setType(AccessMethodType value); |
| |
| /** |
| * Returns the value of the '<em><b>Parameters</b></em>' reference list. |
| * The list contents are of type {@link org.eclipse.papyrus.iotml.sensinact.Parameter}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Parameters</em>' reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Parameters</em>' reference list. |
| * @see org.eclipse.papyrus.iotml.sensinact.SensinactPackage#getAccessMethod_Parameters() |
| * @model ordered="false" |
| * @generated |
| */ |
| EList<Parameter> getParameters(); |
| |
| /** |
| * Returns the value of the '<em><b>Base Operation</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Base Operation</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Base Operation</em>' reference. |
| * @see #setBase_Operation(Operation) |
| * @see org.eclipse.papyrus.iotml.sensinact.SensinactPackage#getAccessMethod_Base_Operation() |
| * @model required="true" ordered="false" |
| * @generated |
| */ |
| Operation getBase_Operation(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.iotml.sensinact.AccessMethod#getBase_Operation <em>Base Operation</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Base Operation</em>' reference. |
| * @see #getBase_Operation() |
| * @generated |
| */ |
| void setBase_Operation(Operation value); |
| |
| } // AccessMethod |