Uses of Interface
org.eclipse.ditto.things.model.Thing
Packages that use Thing
-
Uses of Thing in org.eclipse.ditto.things.model
Methods in org.eclipse.ditto.things.model that return ThingModifier and TypeMethodDescriptionThingBuilder.FromCopy.build()Creates a new Thing object based on the data which was provided to this builder.ThingBuilder.FromScratch.build()Creates a new immutableThingcontaining all properties which were set to this builder beforehand.static ThingReturns a new immutableThingbased on the given JSON string.static ThingThingsModelFactory.newThing(org.eclipse.ditto.json.JsonObject jsonObject) Returns a new immutableThingbased on the given JSON object.default ThingThing.removeAttribute(CharSequence attributePath) Removes the attribute at the given path from a copy of this Thing.Thing.removeAttribute(org.eclipse.ditto.json.JsonPointer attributePath) Removes the attribute at the given path from a copy of this Thing.Thing.removeAttributes()Removes all attributes from a copy of this Thing.Thing.removeDefinition()Removes the Thing's definition on a copy of this Thing.Thing.removeFeature(String featureId) Removes the Feature with the specified ID from a copy of this Thing.Thing.removeFeatureDefinition(String featureId) Removes the definition from the Feature of this thing with the specified feature ID.Thing.removeFeatureDesiredProperties(CharSequence featureId) Removes all desired properties from the given Feature on a copy of this Thing.default ThingThing.removeFeatureDesiredProperty(CharSequence featureId, CharSequence propertyPath) Removes the given desired property from a Feature on a copy of this Thing.Thing.removeFeatureDesiredProperty(CharSequence featureId, org.eclipse.ditto.json.JsonPointer propertyPath) Removes the given desired property from a Feature on a copy of this Thing.Thing.removeFeatureProperties(String featureId) Removes all properties from the given Feature on a copy of this Thing.default ThingThing.removeFeatureProperty(String featureId, CharSequence propertyPath) Removes the given property from a Feature on a copy of this Thing.Thing.removeFeatureProperty(String featureId, org.eclipse.ditto.json.JsonPointer propertyPath) Removes the given property from a Feature on a copy of this Thing.Thing.removeFeatures()Removes all Features from a copy of this Thing.default ThingThing.setAttribute(CharSequence attributePath, boolean attributeValue) Sets the given attribute on a copy of this Thing.default ThingThing.setAttribute(CharSequence attributePath, double attributeValue) Sets the given attribute on a copy of this Thing.default ThingThing.setAttribute(CharSequence attributePath, int attributeValue) Sets the given attribute on a copy of this Thing.default ThingThing.setAttribute(CharSequence attributePath, long attributeValue) Sets the given attribute on a copy of this Thing.default ThingThing.setAttribute(CharSequence attributePath, String attributeValue) Sets the given attribute on a copy of this Thing.default ThingThing.setAttribute(CharSequence attributePath, org.eclipse.ditto.json.JsonValue attributeValue) Sets the given attribute on a copy of this Thing.Thing.setAttribute(org.eclipse.ditto.json.JsonPointer attributePath, org.eclipse.ditto.json.JsonValue attributeValue) Sets the given attribute on a copy of this Thing.Thing.setAttributes(Attributes attributes) Sets the attributes on a copy of this Thing.Thing.setDefinition(CharSequence definitionIdentifier) Sets the definition on a copy of this Thing.Thing.setFeature(Feature feature) Sets the given Feature to a copy of this Thing.Thing.setFeatureDefinition(String featureId, FeatureDefinition definition) Sets the given definition of a Feature on a copy of this Thing.Thing.setFeatureDesiredProperties(CharSequence featureId, FeatureProperties desiredProperties) Sets the given desired properties of a Feature on a copy of this Thing.default ThingThing.setFeatureDesiredProperty(CharSequence featureId, CharSequence desiredPropertyPath, boolean desiredPropertyValue) Sets the given desired property to the Feature with the given ID on a copy of this Thing.default ThingThing.setFeatureDesiredProperty(CharSequence featureId, CharSequence desiredPropertyPath, double desiredPropertyValue) Sets the given desired property to the Feature with the given ID on a copy of this Thing.default ThingThing.setFeatureDesiredProperty(CharSequence featureId, CharSequence desiredPropertyPath, int desiredPropertyValue) Sets the given desired property to the Feature with the given ID on a copy of this Thing.default ThingThing.setFeatureDesiredProperty(CharSequence featureId, CharSequence desiredPropertyPath, long desiredPropertyValue) Sets the given desired property to the Feature with the given ID on a copy of this Thing.default ThingThing.setFeatureDesiredProperty(CharSequence featureId, CharSequence desiredPropertyPath, String desiredPropertyValue) Sets the given desired property to the Feature with the given ID on a copy of this Thing.default ThingThing.setFeatureDesiredProperty(CharSequence featureId, CharSequence desiredPropertyPath, org.eclipse.ditto.json.JsonValue desiredPropertyValue) Sets the given desired property to the Feature with the given ID on a copy of this Thing.Thing.setFeatureDesiredProperty(CharSequence featureId, org.eclipse.ditto.json.JsonPointer desiredPropertyPath, org.eclipse.ditto.json.JsonValue desiredPropertyValue) Sets the given desired property to the Feature with the given ID on a copy of this Thing.Thing.setFeatureProperties(String featureId, FeatureProperties properties) Sets the given properties of a Feature on a copy of this Thing.default ThingThing.setFeatureProperty(String featureId, CharSequence propertyPath, boolean propertyValue) Sets the given property to the Feature with the given ID on a copy of this Thing.default ThingThing.setFeatureProperty(String featureId, CharSequence propertyPath, double propertyValue) Sets the given property to the Feature with the given ID on a copy of this Thing.default ThingThing.setFeatureProperty(String featureId, CharSequence propertyPath, int propertyValue) Sets the given property to the Feature with the given ID on a copy of this Thing.default ThingThing.setFeatureProperty(String featureId, CharSequence propertyPath, long propertyValue) Sets the given property to the Feature with the given ID on a copy of this Thing.default ThingThing.setFeatureProperty(String featureId, CharSequence propertyPath, String propertyValue) Sets the given property to the Feature with the given ID on a copy of this Thing.default ThingThing.setFeatureProperty(String featureId, CharSequence propertyPath, org.eclipse.ditto.json.JsonValue propertyValue) Sets the given property to the Feature with the given ID on a copy of this Thing.Thing.setFeatureProperty(String featureId, org.eclipse.ditto.json.JsonPointer propertyPath, org.eclipse.ditto.json.JsonValue propertyValue) Sets the given property to the Feature with the given ID on a copy of this Thing.Thing.setFeatures(Features features) Sets the given Features to a copy of this Thing.Thing.setLifecycle(ThingLifecycle newLifecycle) Sets the given lifecycle to a copy of this Thing.Thing.setPolicyId(org.eclipse.ditto.policies.model.PolicyId policyId) Sets the given Policy ID on a copy of this Thing.Methods in org.eclipse.ditto.things.model with parameters of type ThingModifier and TypeMethodDescriptionstatic ThingBuilder.FromCopyThingsModelFactory.newThingBuilder(Thing thing) Returns a mutable builder with a fluent API for an immutableThing. -
Uses of Thing in org.eclipse.ditto.things.model.signals.commands.modify
Methods in org.eclipse.ditto.things.model.signals.commands.modify that return ThingModifier and TypeMethodDescriptionCreateThing.getThing()Returns theThingto create.ModifyThing.getThing()Returns theThingto modify.Methods in org.eclipse.ditto.things.model.signals.commands.modify that return types with arguments of type ThingModifier and TypeMethodDescriptionCreateThingResponse.getThingCreated()Returns the createdThing.ModifyThingResponse.getThingCreated()Returns the createdThing.Methods in org.eclipse.ditto.things.model.signals.commands.modify with parameters of type ThingModifier and TypeMethodDescriptionstatic ModifyThingResponseModifyThingResponse.created(Thing thing, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a newModifyThingResponsefor a created Thing.static CreateThingResponseCreateThingResponse.newInstance(Thing createdThing, org.eclipse.ditto.base.model.common.HttpStatus httpStatus, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a new instance ofCreateThingResponsefor the specified arguments.static ModifyThingResponseModifyThingResponse.newInstance(ThingId thingId, Thing thingCreated, org.eclipse.ditto.base.model.common.HttpStatus httpStatus, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a new instance ofModifyThingResponsefor the specified arguments.static CreateThingCreateThing.of(Thing newThing, org.eclipse.ditto.json.JsonObject initialPolicy, String policyIdOrPlaceholder, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a Command for creating a new Thing which is passed as argument.static CreateThingCreateThing.of(Thing newThing, org.eclipse.ditto.json.JsonObject initialPolicy, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a Command for creating a new Thing which is passed as argument.static CreateThingResponseReturns a newCreateThingResponsefor a created Thing.static ModifyThingModifyThing.of(ThingId thingId, Thing thing, org.eclipse.ditto.json.JsonObject initialPolicy, String policyIdOrPlaceholder, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a command for modifying a thing which is passed as argument.static ModifyThingModifyThing.of(ThingId thingId, Thing thing, org.eclipse.ditto.json.JsonObject initialPolicy, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a command for modifying a thing which is passed as argument.static CreateThingCreateThing.withCopiedPolicy(Thing newThing, String policyIdOrPlaceholder, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a Command for creating a new Thing which is passed as argument.static ModifyThingModifyThing.withCopiedPolicy(ThingId thingId, Thing thing, String policyIdOrPlaceholder, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a command for modifying a thing which is passed as argument.static MergeThingMergeThing.withThing(ThingId thingId, Thing thing, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Creates a command for merging the thing identified bythingIdwith the giventhing.static MergeThingMergeThing.withThing(ThingId thingId, Thing thing, org.eclipse.ditto.json.JsonObject initialPolicy, String policyIdOrPlaceholder, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Creates a command for merging the thing identified bythingIdwith the giventhing. -
Uses of Thing in org.eclipse.ditto.things.model.signals.commands.query
Methods in org.eclipse.ditto.things.model.signals.commands.query that return ThingMethods in org.eclipse.ditto.things.model.signals.commands.query that return types with arguments of type ThingModifier and TypeMethodDescriptionRetrieveThingsResponse.getThings()Returns the retrieved Things.Methods in org.eclipse.ditto.things.model.signals.commands.query with parameters of type ThingModifier and TypeMethodDescriptionstatic RetrieveThingResponseRetrieveThingResponse.of(ThingId thingId, Thing thing, org.eclipse.ditto.json.JsonFieldSelector fieldSelector, Predicate<org.eclipse.ditto.json.JsonField> predicate, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Creates a response to aRetrieveThingcommand.Method parameters in org.eclipse.ditto.things.model.signals.commands.query with type arguments of type ThingModifier and TypeMethodDescriptionstatic RetrieveThingsResponseRetrieveThingsResponse.of(List<Thing> things, Predicate<org.eclipse.ditto.json.JsonField> predicate, String namespace, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Creates a response to aRetrieveThingscommand.static RetrieveThingsResponseRetrieveThingsResponse.of(List<Thing> things, org.eclipse.ditto.json.JsonFieldSelector fieldSelector, Predicate<org.eclipse.ditto.json.JsonField> predicate, String namespace, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Creates a response to aRetrieveThingscommand. -
Uses of Thing in org.eclipse.ditto.things.model.signals.events
Methods in org.eclipse.ditto.things.model.signals.events that return ThingModifier and TypeMethodDescriptionThingCreated.getThing()Returns the createdThing.ThingModified.getThing()Returns the createdThing.Methods in org.eclipse.ditto.things.model.signals.events that return types with arguments of type ThingModifier and TypeMethodDescriptionThingEventToThingConverter.mergeThingWithExtraFields(org.eclipse.ditto.base.model.signals.Signal<?> signal, org.eclipse.ditto.json.JsonFieldSelector extraFields, org.eclipse.ditto.json.JsonObject extra) Merge any thing information in a signal event together with extra fields from signal enrichment.ThingEventToThingConverter.thingEventToThing(ThingEvent<?> thingEvent) Creates a Thing from the passed ThingEvent.Methods in org.eclipse.ditto.things.model.signals.events with parameters of type ThingModifier and TypeMethodDescriptionstatic ThingCreatedThingCreated.of(Thing thing, long revision, Instant timestamp, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders, org.eclipse.ditto.base.model.entity.metadata.Metadata metadata) Constructs a newThingCreatedobject.static ThingModifiedThingModified.of(Thing thing, long revision, Instant timestamp, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders, org.eclipse.ditto.base.model.entity.metadata.Metadata metadata) Constructs a newThingModifiedobject.