Interface ThingCommand<T extends ThingCommand<T>>

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  ThingCommand.JsonFields
      This class contains definitions for all specific fields of a ThingCommand's JSON representation.
      • Nested classes/interfaces inherited from interface org.eclipse.ditto.signals.commands.base.Command

        org.eclipse.ditto.signals.commands.base.Command.Category
      • Nested classes/interfaces inherited from interface org.eclipse.ditto.model.base.json.Jsonifiable

        org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelector, org.eclipse.ditto.model.base.json.Jsonifiable.WithFieldSelectorAndPredicate<T extends Object>, 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 extends Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String RESOURCE_TYPE
      Thing resource type.
      static String TYPE_PREFIX
      Type Prefix of Thing commands.
      • Fields inherited from interface org.eclipse.ditto.signals.commands.base.Command

        TYPE_QUALIFIER
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default org.eclipse.ditto.model.things.ThingId getEntityId()  
      default org.eclipse.ditto.model.base.entity.type.EntityType getEntityType()
      Returns the entity type ThingConstants.ENTITY_TYPE.
      default String getResourceType()  
      default String getTypePrefix()  
      T setDittoHeaders​(org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)  
      • Methods inherited from interface org.eclipse.ditto.signals.commands.base.Command

        getCategory, getImplementedSchemaVersion, toJson, toJson
      • Methods inherited from interface org.eclipse.ditto.model.base.json.Jsonifiable

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

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

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

        getDittoHeaders
      • Methods inherited from interface org.eclipse.ditto.signals.base.WithId

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

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

        getResourcePath
      • Methods inherited from interface org.eclipse.ditto.model.things.WithThingId

        getThingEntityId, getThingId
      • Methods inherited from interface org.eclipse.ditto.signals.base.WithType

        getType
    • Field Detail

      • RESOURCE_TYPE

        static final String RESOURCE_TYPE
        Thing resource type.
    • Method Detail

      • getTypePrefix

        default String getTypePrefix()
        Specified by:
        getTypePrefix in interface org.eclipse.ditto.signals.commands.base.Command<T extends ThingCommand<T>>
      • getEntityId

        default org.eclipse.ditto.model.things.ThingId getEntityId()
        Specified by:
        getEntityId in interface org.eclipse.ditto.signals.base.WithId
      • getResourceType

        default String getResourceType()
        Specified by:
        getResourceType in interface org.eclipse.ditto.signals.base.WithResource
      • getEntityType

        default org.eclipse.ditto.model.base.entity.type.EntityType getEntityType()
        Returns the entity type ThingConstants.ENTITY_TYPE.
        Specified by:
        getEntityType in interface org.eclipse.ditto.model.base.entity.type.WithEntityType
        Returns:
        the Thing entity type.
        Since:
        1.1.0
      • setDittoHeaders

        T setDittoHeaders​(org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)
        Specified by:
        setDittoHeaders in interface org.eclipse.ditto.signals.commands.base.Command<T extends ThingCommand<T>>
        Specified by:
        setDittoHeaders in interface org.eclipse.ditto.model.base.headers.WithDittoHeaders<T extends ThingCommand<T>>