Uses of Interface
org.eclipse.ditto.things.model.Attributes
Packages that use Attributes
-
Uses of Attributes in org.eclipse.ditto.things.model
Methods in org.eclipse.ditto.things.model that return AttributesModifier and TypeMethodDescriptionAttributesBuilder.build()Creates a newAttributesobject containing all values which were set to this builder beforehand.static AttributesAttributesModelFactory.emptyAttributes()Returns a new immutable emptyAttributes.static AttributesThingsModelFactory.emptyAttributes()Returns a new immutable emptyAttributes.static AttributesAttributesModelFactory.newAttributes(String jsonString) Returns a new immutableAttributeswhich is initialised with the values of the given JSON string.static AttributesAttributesModelFactory.newAttributes(org.eclipse.ditto.json.JsonObject jsonObject) Returns a new immutableAttributeswhich is initialised with the values of the given JSON object.static AttributesThingsModelFactory.newAttributes(String jsonString) Returns a new immutableAttributeswhich is initialised with the values of the given JSON string.static AttributesThingsModelFactory.newAttributes(org.eclipse.ditto.json.JsonObject jsonObject) Returns a new immutableAttributeswhich is initialised with the values of the given JSON object.static AttributesAttributesModelFactory.nullAttributes()Returns a new immutableAttributeswhich representsnull.static AttributesThingsModelFactory.nullAttributes()Returns a new immutableAttributeswhich representsnull.Attributes.remove(CharSequence key) Attributes.set(org.eclipse.ditto.json.JsonField field) Attributes.setValue(CharSequence key, boolean value) Attributes.setValue(CharSequence key, double value) Attributes.setValue(CharSequence key, int value) Attributes.setValue(CharSequence key, long value) Attributes.setValue(CharSequence key, String value) Attributes.setValue(CharSequence key, org.eclipse.ditto.json.JsonValue value) Methods in org.eclipse.ditto.things.model that return types with arguments of type AttributesMethods in org.eclipse.ditto.things.model with parameters of type AttributesModifier and TypeMethodDescriptionThing.setAttributes(Attributes attributes) Sets the attributes on a copy of this Thing.ThingBuilder.FromCopy.setAttributes(Predicate<Attributes> existingAttributesPredicate, Attributes attributes) Sets the given attributes to this builder.default ThingBuilder.FromCopyThingBuilder.FromCopy.setAttributes(Attributes attributes) Sets the given attributes to this builder.ThingBuilder.FromScratch.setAttributes(Attributes attributes) Sets the given attributes to this builder.Method parameters in org.eclipse.ditto.things.model with type arguments of type AttributesModifier and TypeMethodDescriptionThingBuilder.FromCopy.removeAllAttributes(Predicate<Attributes> existingAttributesPredicate) Removes all attributes from this builder.ThingBuilder.FromCopy.removeAttribute(Predicate<Attributes> existingAttributesPredicate, org.eclipse.ditto.json.JsonPointer attributePath) Removes the attribute at the given path from this builder.ThingBuilder.FromCopy.setAttribute(Predicate<Attributes> existingAttributesPredicate, org.eclipse.ditto.json.JsonPointer attributePath, org.eclipse.ditto.json.JsonValue attributeValue) Sets the given attribute to this builder.ThingBuilder.FromCopy.setAttributes(Predicate<Attributes> existingAttributesPredicate, String attributesJsonString) Sets the attributes to this builder.ThingBuilder.FromCopy.setAttributes(Predicate<Attributes> existingAttributesPredicate, org.eclipse.ditto.json.JsonObject attributesJsonObject) Sets the attributes to this builder.ThingBuilder.FromCopy.setAttributes(Predicate<Attributes> existingAttributesPredicate, Attributes attributes) Sets the given attributes to this builder. -
Uses of Attributes in org.eclipse.ditto.things.model.signals.commands.modify
Methods in org.eclipse.ditto.things.model.signals.commands.modify that return AttributesModifier and TypeMethodDescriptionModifyAttributes.getAttributes()Returns theAttributesto modify.ModifyAttributesResponse.getAttributesCreated()Returns the createdAttributes.Methods in org.eclipse.ditto.things.model.signals.commands.modify with parameters of type AttributesModifier and TypeMethodDescriptionstatic ModifyAttributesResponseModifyAttributesResponse.created(ThingId thingId, Attributes attributes, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a newModifyAttributesResponsefor a created Attributes.static ModifyAttributesResponseModifyAttributesResponse.newInstance(ThingId thingId, Attributes attributes, org.eclipse.ditto.base.model.common.HttpStatus httpStatus, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a new instance ofModifyAttributesResponsefor the specified arguments.static ModifyAttributesModifyAttributes.of(ThingId thingId, Attributes newAttributesObject, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a command for modifying an attributes object which is passed as argument.static MergeThingMergeThing.withAttributes(ThingId thingId, Attributes attributes, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Creates a command for merging the thing identified bythingIdwith the givenattributes. -
Uses of Attributes in org.eclipse.ditto.things.model.signals.commands.query
Methods in org.eclipse.ditto.things.model.signals.commands.query that return AttributesModifier and TypeMethodDescriptionRetrieveAttributesResponse.getAttributes()Returns the retrieved Attributes.Methods in org.eclipse.ditto.things.model.signals.commands.query with parameters of type AttributesModifier and TypeMethodDescriptionstatic RetrieveAttributesResponseRetrieveAttributesResponse.newInstance(ThingId thingId, Attributes attributes, org.eclipse.ditto.base.model.common.HttpStatus httpStatus, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a new instance ofRetrieveAttributesResponsefor the specified arguments.static RetrieveAttributesResponseRetrieveAttributesResponse.of(ThingId thingId, Attributes attributes, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Creates a response to aRetrieveAttributescommand. -
Uses of Attributes in org.eclipse.ditto.things.model.signals.events
Methods in org.eclipse.ditto.things.model.signals.events that return AttributesModifier and TypeMethodDescriptionAttributesCreated.getCreatedAttributes()Returns the JSON object which represents the attributes created.AttributesModified.getModifiedAttributes()Returns the JSON object which represents the attributes modified.Methods in org.eclipse.ditto.things.model.signals.events with parameters of type AttributesModifier and TypeMethodDescriptionstatic AttributesCreatedAttributesCreated.of(ThingId thingId, Attributes createdAttributes, long revision, Instant timestamp, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders, org.eclipse.ditto.base.model.entity.metadata.Metadata metadata) Constructs a newAttributesCreatedobject.static AttributesModifiedAttributesModified.of(ThingId thingId, Attributes modifiedAttributes, long revision, Instant timestamp, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders, org.eclipse.ditto.base.model.entity.metadata.Metadata metadata) Constructs a newAttributesModifiedobject.