Uses of Interface
org.eclipse.ditto.things.model.AttributesBuilder
Packages that use AttributesBuilder
-
Uses of AttributesBuilder in org.eclipse.ditto.things.model
Methods in org.eclipse.ditto.things.model that return AttributesBuilderModifier and TypeMethodDescriptionstatic AttributesBuilderAttributesModelFactory.newAttributesBuilder()Returns a new empty builder for aAttributes.static AttributesBuilderAttributesModelFactory.newAttributesBuilder(org.eclipse.ditto.json.JsonObject jsonObject) Returns a new builder for aAttributeswhich is initialised with the values of the given JSON object.static AttributesBuilderThingsModelFactory.newAttributesBuilder()Returns a new empty builder for aAttributes.static AttributesBuilderThingsModelFactory.newAttributesBuilder(org.eclipse.ditto.json.JsonObject jsonObject) Returns a new builder for aAttributeswhich is initialised with the values of the given JSON object.static AttributesBuilderAttributes.newBuilder()Returns a new empty builder for aAttributes.AttributesBuilder.remove(CharSequence key) Removes the attribute from theAttributesto be built which is associated with the given name.AttributesBuilder.remove(org.eclipse.ditto.json.JsonFieldDefinition<?> fieldDefinition) Removes the attribute from theAttributesto be built which is associated with the pointer of the specified JSON field definition.AttributesBuilder.removeAll()Removes all fields from theAttributesto be built.default AttributesBuilderAttributesBuilder.set(CharSequence key, boolean value) Sets a newbooleanvalue attribute to theAttributesto be built.AttributesBuilder.set(CharSequence key, boolean value, Predicate<org.eclipse.ditto.json.JsonField> predicate) Sets a newbooleanvalue attribute to theAttributesto be built if the specified predicate evaluates totrue.default AttributesBuilderAttributesBuilder.set(CharSequence key, double value) Sets a newdoublevalue attribute to theAttributesto be built.AttributesBuilder.set(CharSequence key, double value, Predicate<org.eclipse.ditto.json.JsonField> predicate) Sets a newdoublevalue attribute to theAttributesto be built if the specified predicate evaluates totrue.default AttributesBuilderAttributesBuilder.set(CharSequence key, int value) Sets a newintattribute to theAttributesto be built.AttributesBuilder.set(CharSequence key, int value, Predicate<org.eclipse.ditto.json.JsonField> predicate) Sets a newintattribute to theAttributesto be built if the specified predicate evaluates totrue.default AttributesBuilderAttributesBuilder.set(CharSequence key, long value) Sets a newlongattribute to theAttributesto be built.AttributesBuilder.set(CharSequence key, long value, Predicate<org.eclipse.ditto.json.JsonField> predicate) Sets a newlongattribute to theAttributesto be built if the specified predicate evaluates totrue.default AttributesBuilderAttributesBuilder.set(CharSequence key, String value) Sets a new string value attribute to theAttributesto be built.AttributesBuilder.set(CharSequence key, String value, Predicate<org.eclipse.ditto.json.JsonField> predicate) Sets a new string value attribute to theAttributesto be built if the specified predicate evaluates totrue.default AttributesBuilderAttributesBuilder.set(CharSequence key, org.eclipse.ditto.json.JsonValue value) Sets a newJsonValueattribute to theAttributesto be built.AttributesBuilder.set(CharSequence key, org.eclipse.ditto.json.JsonValue value, Predicate<org.eclipse.ditto.json.JsonField> predicate) Sets a newJsonValueattribute to theAttributesto be built if the specified predicate evaluates totrue.default AttributesBuilderAttributesBuilder.set(org.eclipse.ditto.json.JsonField field) Sets the specified attribute to theAttributesto be built.default <T> AttributesBuilderAttributesBuilder.set(org.eclipse.ditto.json.JsonFieldDefinition<T> fieldDefinition, T value) AttributesBuilder.set(org.eclipse.ditto.json.JsonFieldDefinition<T> fieldDefinition, T value, Predicate<org.eclipse.ditto.json.JsonField> predicate) AttributesBuilder.set(org.eclipse.ditto.json.JsonField field, Predicate<org.eclipse.ditto.json.JsonField> predicate) Sets the specified attribute to theAttributesto be built if the specified predicate evaluates totrue.default AttributesBuilderSets the givenJsonFields to theAttributesto be built.AttributesBuilder.setAll(Iterable<org.eclipse.ditto.json.JsonField> fields, Predicate<org.eclipse.ditto.json.JsonField> predicate) Sets the givenJsonFields to theAttributesto be built.default AttributesBuilderAttributes.toBuilder()Returns a mutable builder with a fluent API for immutableAttributes.