| /** |
| * 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.papyrus.iotml.software.resource.OnDeviceResource; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Resource</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.papyrus.iotml.sensinact.Resource#getFriendlyName <em>Friendly Name</em>}</li> |
| * <li>{@link org.eclipse.papyrus.iotml.sensinact.Resource#getAccessMethods <em>Access Methods</em>}</li> |
| * <li>{@link org.eclipse.papyrus.iotml.sensinact.Resource#getAttributes <em>Attributes</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.papyrus.iotml.sensinact.SensinactPackage#getResource() |
| * @model |
| * @generated |
| */ |
| public interface Resource extends OnDeviceResource { |
| /** |
| * Returns the value of the '<em><b>Friendly Name</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Friendly 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>Friendly Name</em>' attribute. |
| * @see #setFriendlyName(String) |
| * @see org.eclipse.papyrus.iotml.sensinact.SensinactPackage#getResource_FriendlyName() |
| * @model dataType="org.eclipse.uml2.types.String" required="true" ordered="false" |
| * @generated |
| */ |
| String getFriendlyName(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.iotml.sensinact.Resource#getFriendlyName <em>Friendly Name</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Friendly Name</em>' attribute. |
| * @see #getFriendlyName() |
| * @generated |
| */ |
| void setFriendlyName(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Access Methods</b></em>' reference list. |
| * The list contents are of type {@link org.eclipse.papyrus.iotml.sensinact.AccessMethod}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Access Methods</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>Access Methods</em>' reference list. |
| * @see org.eclipse.papyrus.iotml.sensinact.SensinactPackage#getResource_AccessMethods() |
| * @model required="true" ordered="false" |
| * @generated |
| */ |
| EList<AccessMethod> getAccessMethods(); |
| |
| /** |
| * Returns the value of the '<em><b>Attributes</b></em>' reference list. |
| * The list contents are of type {@link org.eclipse.papyrus.iotml.sensinact.Attribute}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Attributes</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>Attributes</em>' reference list. |
| * @see org.eclipse.papyrus.iotml.sensinact.SensinactPackage#getResource_Attributes() |
| * @model required="true" ordered="false" |
| * @generated |
| */ |
| EList<Attribute> getAttributes(); |
| |
| } // Resource |