blob: 94a42b68bbd47a8225adbfd291cda1c2bd5e8ffe [file] [log] [blame]
/**
* 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
*
*/
package org.eclipse.papyrus.iotml.wot;
import org.eclipse.emf.common.util.EList;
import org.eclipse.papyrus.iotml.software.artefact.VirtualEntity;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Thing</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.papyrus.iotml.wot.Thing#getId <em>Id</em>}</li>
* <li>{@link org.eclipse.papyrus.iotml.wot.Thing#getSupport <em>Support</em>}</li>
* <li>{@link org.eclipse.papyrus.iotml.wot.Thing#getSecurity <em>Security</em>}</li>
* <li>{@link org.eclipse.papyrus.iotml.wot.Thing#getBase <em>Base</em>}</li>
* <li>{@link org.eclipse.papyrus.iotml.wot.Thing#getLinks <em>Links</em>}</li>
* <li>{@link org.eclipse.papyrus.iotml.wot.Thing#getEvents <em>Events</em>}</li>
* <li>{@link org.eclipse.papyrus.iotml.wot.Thing#getActions <em>Actions</em>}</li>
* <li>{@link org.eclipse.papyrus.iotml.wot.Thing#getProperties <em>Properties</em>}</li>
* </ul>
*
* @see org.eclipse.papyrus.iotml.wot.WoTPackage#getThing()
* @model
* @generated
*/
public interface Thing extends VirtualEntity {
/**
* Returns the value of the '<em><b>Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Id</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Id</em>' attribute.
* @see #setId(String)
* @see org.eclipse.papyrus.iotml.wot.WoTPackage#getThing_Id()
* @model dataType="org.eclipse.uml2.types.String" required="true" ordered="false"
* @generated
*/
String getId();
/**
* Sets the value of the '{@link org.eclipse.papyrus.iotml.wot.Thing#getId <em>Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Id</em>' attribute.
* @see #getId()
* @generated
*/
void setId(String value);
/**
* Returns the value of the '<em><b>Support</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Support</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Support</em>' attribute.
* @see #setSupport(String)
* @see org.eclipse.papyrus.iotml.wot.WoTPackage#getThing_Support()
* @model dataType="org.eclipse.uml2.types.String" ordered="false"
* @generated
*/
String getSupport();
/**
* Sets the value of the '{@link org.eclipse.papyrus.iotml.wot.Thing#getSupport <em>Support</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Support</em>' attribute.
* @see #getSupport()
* @generated
*/
void setSupport(String value);
/**
* Returns the value of the '<em><b>Security</b></em>' reference list.
* The list contents are of type {@link org.eclipse.papyrus.iotml.wot.SecurityScheme}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Security</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>Security</em>' reference list.
* @see org.eclipse.papyrus.iotml.wot.WoTPackage#getThing_Security()
* @model ordered="false"
* @generated
*/
EList<SecurityScheme> getSecurity();
/**
* Returns the value of the '<em><b>Base</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base</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</em>' reference.
* @see #setBase(Link)
* @see org.eclipse.papyrus.iotml.wot.WoTPackage#getThing_Base()
* @model ordered="false"
* @generated
*/
Link getBase();
/**
* Sets the value of the '{@link org.eclipse.papyrus.iotml.wot.Thing#getBase <em>Base</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base</em>' reference.
* @see #getBase()
* @generated
*/
void setBase(Link value);
/**
* Returns the value of the '<em><b>Links</b></em>' reference list.
* The list contents are of type {@link org.eclipse.papyrus.iotml.wot.Link}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Links</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>Links</em>' reference list.
* @see org.eclipse.papyrus.iotml.wot.WoTPackage#getThing_Links()
* @model ordered="false"
* @generated
*/
EList<Link> getLinks();
/**
* Returns the value of the '<em><b>Events</b></em>' reference list.
* The list contents are of type {@link org.eclipse.papyrus.iotml.wot.Event}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Events</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>Events</em>' reference list.
* @see org.eclipse.papyrus.iotml.wot.WoTPackage#getThing_Events()
* @model ordered="false"
* @generated
*/
EList<Event> getEvents();
/**
* Returns the value of the '<em><b>Actions</b></em>' reference list.
* The list contents are of type {@link org.eclipse.papyrus.iotml.wot.Action}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Actions</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>Actions</em>' reference list.
* @see org.eclipse.papyrus.iotml.wot.WoTPackage#getThing_Actions()
* @model ordered="false"
* @generated
*/
EList<Action> getActions();
/**
* Returns the value of the '<em><b>Properties</b></em>' reference list.
* The list contents are of type {@link org.eclipse.papyrus.iotml.wot.Property}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Properties</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>Properties</em>' reference list.
* @see org.eclipse.papyrus.iotml.wot.WoTPackage#getThing_Properties()
* @model ordered="false"
* @generated
*/
EList<Property> getProperties();
} // Thing