Interface ThingEvent<T extends ThingEvent<T>>

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  ThingEvent.JsonFields
      An enumeration of the known JsonFields of an event.
      • Nested classes/interfaces inherited from interface org.eclipse.ditto.base.model.json.Jsonifiable

        org.eclipse.ditto.base.model.json.Jsonifiable.WithFieldSelector, org.eclipse.ditto.base.model.json.Jsonifiable.WithFieldSelectorAndPredicate<T extends java.lang.Object>, org.eclipse.ditto.base.model.json.Jsonifiable.WithPointer<J extends org.eclipse.ditto.json.JsonValue>, org.eclipse.ditto.base.model.json.Jsonifiable.WithPredicate<J extends org.eclipse.ditto.json.JsonValue,​T extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String RESOURCE_TYPE
      Thing resource type.
      static java.lang.String TYPE_PREFIX
      Type Prefix of Thing events.
      • Fields inherited from interface org.eclipse.ditto.base.model.signals.events.Event

        DEFAULT_REVISION, TYPE_QUALIFIER
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default java.lang.String getResourceType()  
      T setDittoHeaders​(org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)  
      • Methods inherited from interface org.eclipse.ditto.base.model.signals.events.Event

        getImplementedSchemaVersion, getMetadata, getTimestamp, getType, toJson
      • Methods inherited from interface org.eclipse.ditto.base.model.signals.events.EventsourcedEvent

        getRevision
      • Methods inherited from interface org.eclipse.ditto.base.model.json.Jsonifiable

        getLatestSchemaVersion, getSupportedSchemaVersions, implementsSchemaVersion, implementsSchemaVersion, toJsonString
      • Methods inherited from interface org.eclipse.ditto.base.model.json.Jsonifiable.WithPredicate

        toJson, toJson, toJsonString, toJsonString
      • Methods inherited from interface org.eclipse.ditto.base.model.signals.Signal

        getName
      • Methods inherited from interface org.eclipse.ditto.base.model.headers.WithDittoHeaders

        getDittoHeaders
      • Methods inherited from interface org.eclipse.ditto.base.model.headers.WithManifest

        getManifest
      • Methods inherited from interface org.eclipse.ditto.base.model.signals.WithOptionalEntity

        getEntity, getEntity
      • Methods inherited from interface org.eclipse.ditto.base.model.signals.WithResource

        getResourcePath
    • Field Detail

      • TYPE_PREFIX

        static final java.lang.String TYPE_PREFIX
        Type Prefix of Thing events.
        See Also:
        Constant Field Values
      • RESOURCE_TYPE

        static final java.lang.String RESOURCE_TYPE
        Thing resource type.
        See Also:
        Constant Field Values
    • Method Detail

      • getResourceType

        default java.lang.String getResourceType()
        Specified by:
        getResourceType in interface org.eclipse.ditto.base.model.signals.WithResource
      • setDittoHeaders

        T setDittoHeaders​(org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)
        Specified by:
        setDittoHeaders in interface org.eclipse.ditto.base.model.headers.DittoHeadersSettable<T extends ThingEvent<T>>
        Specified by:
        setDittoHeaders in interface org.eclipse.ditto.base.model.signals.events.EventsourcedEvent<T extends ThingEvent<T>>