T - the type of the implementing class.public interface ThingEvent<T extends ThingEvent>
extends org.eclipse.ditto.signals.events.base.Event<T>, org.eclipse.ditto.signals.base.WithThingId
| Modifier and Type | Interface and Description |
|---|---|
static class |
ThingEvent.JsonFields
An enumeration of the known
JsonFields of an event. |
org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelector, org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelectorAndPredicate<T>, org.eclipse.ditto.model.base.json.Jsonifiable.WithPointer<J extends org.eclipse.ditto.json.JsonValue>, org.eclipse.ditto.model.base.json.Jsonifiable.WithPredicate<J extends org.eclipse.ditto.json.JsonValue,T>| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_TYPE
Thing resource type.
|
static String |
TYPE_PREFIX
Type Prefix of Thing events.
|
| Modifier and Type | Method and Description |
|---|---|
default String |
getId() |
default String |
getResourceType() |
String |
getThingId()
Returns the ID of
Thing which was modified. |
T |
setDittoHeaders(org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders) |
getImplementedSchemaVersion, getRevision, getTimestamp, getType, setRevision, toJsontoJson, toJson, toJsonString, toJsonStringgetLatestSchemaVersion, getSupportedSchemaVersions, implementsSchemaVersion, implementsSchemaVersion, toJsonStringstatic final String TYPE_PREFIX
static final String RESOURCE_TYPE
String getThingId()
Thing which was modified.getThingId in interface org.eclipse.ditto.signals.base.WithThingIddefault String getId()
getId in interface org.eclipse.ditto.signals.base.WithIddefault String getResourceType()
getResourceType in interface org.eclipse.ditto.signals.base.WithResourceT setDittoHeaders(org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)
setDittoHeaders in interface org.eclipse.ditto.model.base.headers.WithDittoHeaders<T extends ThingEvent>Copyright © 2017–2019 Eclipse Foundation. All rights reserved.