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.base.model.signals.commands.Command

        org.eclipse.ditto.base.model.signals.commands.Command.Category
      • 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 commands.
      • Fields inherited from interface org.eclipse.ditto.base.model.signals.commands.Command

        TYPE_QUALIFIER
    • Method Summary

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

        getCategory, getImplementedSchemaVersion, toJson, toJson
      • 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, 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.WithResource

        getResourcePath
      • Methods inherited from interface org.eclipse.ditto.base.model.signals.WithType

        getType
    • Field Detail

      • TYPE_PREFIX

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

        static final java.lang.String RESOURCE_TYPE
        Thing resource type.
    • Method Detail

      • getTypePrefix

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

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

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

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