EventTypeEnum
- Enum of possible event sub-typepublic abstract class EntityEvent<EventTypeEnum extends java.lang.Enum<?>> extends Event<EventTypeEnum>
Base class for all events that relates to a particular entity.
An entity in SensorHub can be a sensor, a process, etc. and this type of
event is useful when it is related to a particular entity within a group
such as a sensor network or a process grid.
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
relatedEntityID |
Constructor and Description |
---|
EntityEvent() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRelatedEntityID()
Gets the unique ID of the entity related to this event.
For group of entities (e.g. |
getSource, getTimeStamp, getType
protected java.lang.String relatedEntityID
getRelatedEntityID()
public java.lang.String getRelatedEntityID()