Package iotmodel
Interface Thing
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
Actuator,EdgeDevice,Gateway,Sensor
- All Known Implementing Classes:
ActuatorImpl,EdgeDeviceImpl,GatewayImpl,SensorImpl,ThingImpl
public interface Thing
extends org.eclipse.emf.ecore.EObject
A representation of the model object 'Thing'.
The following features are supported:
- See Also:
IotmodelPackage.getThing()
-
Method Summary
Modifier and Type Method Description org.eclipse.emf.common.util.EList<Behavior>getBehavior()Returns the value of the 'Behavior' containment reference list.org.eclipse.emf.common.util.EList<AppPort>getContainsPorts()Returns the value of the 'Contains Ports' containment reference list.org.eclipse.emf.common.util.EList<ID>getId()Returns the value of the 'Id' containment reference list.IoTOsgetIotos()Returns the value of the 'Iotos' reference.org.eclipse.emf.common.util.EList<Message>getMessage()Returns the value of the 'Message' containment reference list.StringgetName()Returns the value of the 'Name' attribute.DatagetProduce()Returns the value of the 'Produce' reference.voidsetIotos(IoTOs value)Sets the value of the 'Iotos' reference.voidsetName(String value)Sets the value of the 'Name' attribute.voidsetProduce(Data value)Sets the value of the 'Produce' reference.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getIotos
IoTOs getIotos()Returns the value of the 'Iotos' reference. It is bidirectional and its opposite is 'Thing'.- Returns:
- the value of the 'Iotos' reference.
- See Also:
setIotos(IoTOs),IotmodelPackage.getThing_Iotos(),IoTOs.getThing()
-
setIotos
Sets the value of the 'Iotos' reference.- Parameters:
value- the new value of the 'Iotos' reference.- See Also:
getIotos()
-
getName
String getName()Returns the value of the 'Name' attribute.- Returns:
- the value of the 'Name' attribute.
- See Also:
setName(String),IotmodelPackage.getThing_Name()
-
setName
Sets the value of the 'Name' attribute.- Parameters:
value- the new value of the 'Name' attribute.- See Also:
getName()
-
getId
org.eclipse.emf.common.util.EList<ID> getId()Returns the value of the 'Id' containment reference list. The list contents are of typeID.- Returns:
- the value of the 'Id' containment reference list.
- See Also:
IotmodelPackage.getThing_Id()
-
getBehavior
org.eclipse.emf.common.util.EList<Behavior> getBehavior()Returns the value of the 'Behavior' containment reference list. The list contents are of typeBehavior.- Returns:
- the value of the 'Behavior' containment reference list.
- See Also:
IotmodelPackage.getThing_Behavior()
-
getMessage
org.eclipse.emf.common.util.EList<Message> getMessage()Returns the value of the 'Message' containment reference list. The list contents are of typeMessage.- Returns:
- the value of the 'Message' containment reference list.
- See Also:
IotmodelPackage.getThing_Message()
-
getContainsPorts
org.eclipse.emf.common.util.EList<AppPort> getContainsPorts()Returns the value of the 'Contains Ports' containment reference list. The list contents are of typeAppPort.- Returns:
- the value of the 'Contains Ports' containment reference list.
- See Also:
IotmodelPackage.getThing_ContainsPorts()
-
getProduce
Data getProduce()Returns the value of the 'Produce' reference.- Returns:
- the value of the 'Produce' reference.
- See Also:
setProduce(Data),IotmodelPackage.getThing_Produce()
-
setProduce
Sets the value of the 'Produce' reference.- Parameters:
value- the new value of the 'Produce' reference.- See Also:
getProduce()
-