Uses of Interface
org.eclipse.ditto.things.model.FeatureProperties
-
Packages that use FeatureProperties Package Description org.eclipse.ditto.things.model Contains the Things framework around the cornerstone of this package:Thing.org.eclipse.ditto.things.model.signals.commands.modify org.eclipse.ditto.things.model.signals.commands.query org.eclipse.ditto.things.model.signals.events -
-
Uses of FeatureProperties in org.eclipse.ditto.things.model
Methods in org.eclipse.ditto.things.model that return FeatureProperties Modifier and Type Method Description FeaturePropertiesFeaturePropertiesBuilder. build()Creates a newFeaturePropertiesobject containing all values which were set to this builder beforehand.static FeaturePropertiesThingsModelFactory. emptyFeatureProperties()Returns a new immutable emptyFeatureProperties.static FeaturePropertiesThingsModelFactory. newFeatureProperties(java.lang.String jsonString)Returns a new immutableFeaturePropertieswhich is initialised with the values of the given JSON string.static FeaturePropertiesThingsModelFactory. newFeatureProperties(org.eclipse.ditto.json.JsonObject jsonObject)Returns a new immutableFeaturePropertieswhich is initialised with the values of the given JSON object.static FeaturePropertiesThingsModelFactory. nullFeatureProperties()Returns a new immutableFeaturePropertieswhich representsnull.FeaturePropertiesFeatureProperties. remove(java.lang.CharSequence key)FeaturePropertiesFeatureProperties. set(org.eclipse.ditto.json.JsonField field)FeaturePropertiesFeatureProperties. setAll(java.lang.Iterable<org.eclipse.ditto.json.JsonField> jsonFields)FeaturePropertiesFeatureProperties. setValue(java.lang.CharSequence key, boolean value)FeaturePropertiesFeatureProperties. setValue(java.lang.CharSequence key, double value)FeaturePropertiesFeatureProperties. setValue(java.lang.CharSequence key, int value)FeaturePropertiesFeatureProperties. setValue(java.lang.CharSequence key, long value)FeaturePropertiesFeatureProperties. setValue(java.lang.CharSequence key, java.lang.String value)FeaturePropertiesFeatureProperties. setValue(java.lang.CharSequence key, org.eclipse.ditto.json.JsonValue value)Methods in org.eclipse.ditto.things.model that return types with arguments of type FeatureProperties Modifier and Type Method Description java.util.Optional<FeatureProperties>Feature. getDesiredProperties()Returns the desired properties of this Feature.java.util.Optional<FeatureProperties>Feature. getProperties()Returns the properties of this Feature.Methods in org.eclipse.ditto.things.model with parameters of type FeatureProperties Modifier and Type Method Description FeatureBuilder.FromCopyBuildableFeatureBuilder.FromCopyBuildable. desiredProperties(FeatureProperties desiredProperties)Sets the desired properties of the Feature.FeatureBuilder.FromScratchBuildableFeatureBuilder.FromScratchBuildable. desiredProperties(FeatureProperties desiredProperties)Sets the desired properties of the Feature.static FeatureThingsModelFactory. newFeature(java.lang.CharSequence featureId, FeatureDefinition featureDefinition, FeatureProperties featureProperties, FeatureProperties desiredFeatureProperties)Returns a new immutableFeaturewith the given ID, properties, desired Properties and Definition.static FeatureThingsModelFactory. newFeature(java.lang.String featureId, FeatureDefinition featureDefinition, FeatureProperties featureProperties)Returns a new immutableFeaturewith the given ID, properties and Definition.static FeatureThingsModelFactory. newFeature(java.lang.String featureId, FeatureProperties featureProperties)Returns a new immutableFeaturewith the given ID and properties.FeatureBuilder.FromCopyBuildableFeatureBuilder.FromCopyBuildable. properties(FeatureProperties properties)Sets the properties of the Feature.FeatureBuilder.FromScratchBuildableFeatureBuilder.FromScratchBuildable. properties(FeatureProperties properties)Sets the properties of the Feature.FeatureFeature. setDesiredProperties(FeatureProperties desiredProperties)Sets the given desired properties to a copy of this Feature.FeaturesFeatures. setDesiredProperties(java.lang.CharSequence featureId, FeatureProperties desiredProperties)Sets the given desired properties for the Feature with the given ID on a copy of this Features.default ThingBuilder.FromCopyThingBuilder.FromCopy. setFeature(java.lang.CharSequence featureId, FeatureDefinition featureDefinition, FeatureProperties featureProperties, FeatureProperties featureDesiredProperties)Sets a Feature with the given ID and properties to this builder.default ThingBuilder.FromCopyThingBuilder.FromCopy. setFeature(java.lang.String featureId, FeatureDefinition featureDefinition, FeatureProperties featureProperties)Sets a Feature with the given ID and properties to this builder.default ThingBuilder.FromCopyThingBuilder.FromCopy. setFeature(java.lang.String featureId, FeatureProperties featureProperties)Sets a Feature with the given ID and properties to this builder.ThingBuilder.FromCopyThingBuilder.FromCopy. setFeature(java.util.function.Predicate<Features> existingFeaturesPredicate, java.lang.CharSequence featureId, FeatureDefinition featureDefinition, FeatureProperties featureProperties, FeatureProperties featureDesiredProperties)Sets a Feature with the given ID and properties to this builder.ThingBuilder.FromCopyThingBuilder.FromCopy. setFeature(java.util.function.Predicate<Features> existingFeaturesPredicate, java.lang.String featureId, FeatureDefinition featureDefinition, FeatureProperties featureProperties)Sets a Feature with the given ID and properties to this builder.ThingBuilder.FromCopyThingBuilder.FromCopy. setFeature(java.util.function.Predicate<Features> existingFeaturesPredicate, java.lang.String featureId, FeatureProperties featureProperties)Sets a Feature with the given ID and properties to this builder.ThingBuilder.FromScratchThingBuilder.FromScratch. setFeature(java.lang.CharSequence featureId, FeatureDefinition featureDefinition, FeatureProperties featureProperties, FeatureProperties featureDesiredProperties)Sets a Feature with the given ID and properties to this builder.ThingBuilder.FromScratchThingBuilder.FromScratch. setFeature(java.lang.String featureId, FeatureDefinition featureDefinition, FeatureProperties featureProperties)Sets a Feature with the given ID and properties to this builder.ThingBuilder.FromScratchThingBuilder.FromScratch. setFeature(java.lang.String featureId, FeatureProperties featureProperties)Sets a Feature with the given ID and properties to this builder.ThingThing. setFeatureDesiredProperties(java.lang.CharSequence featureId, FeatureProperties desiredProperties)Sets the given desired properties of a Feature on a copy of this Thing.default ThingBuilder.FromCopyThingBuilder.FromCopy. setFeatureDesiredProperties(java.lang.CharSequence featureId, FeatureProperties desiredFeatureProperties)Sets the given desired properties to the Feature with the given ID on this builder.ThingBuilder.FromCopyThingBuilder.FromCopy. setFeatureDesiredProperties(java.util.function.Predicate<Features> existingFeaturesPredicate, java.lang.CharSequence featureId, FeatureProperties desiredFeatureProperties)Sets the given desired properties to the Feature with the given ID on this builder.ThingBuilder.FromScratchThingBuilder.FromScratch. setFeatureDesiredProperties(java.lang.CharSequence featureId, FeatureProperties desiredFeatureProperties)Sets the given desired properties to the Feature with the given ID on this builder.ThingThing. setFeatureProperties(java.lang.String featureId, FeatureProperties properties)Sets the given properties of a Feature on a copy of this Thing.default ThingBuilder.FromCopyThingBuilder.FromCopy. setFeatureProperties(java.lang.String featureId, FeatureProperties featureProperties)Sets the given properties to the Feature with the given ID on this builder.ThingBuilder.FromCopyThingBuilder.FromCopy. setFeatureProperties(java.util.function.Predicate<Features> existingFeaturesPredicate, java.lang.String featureId, FeatureProperties featureProperties)Sets the given properties to the Feature with the given ID on this builder.ThingBuilder.FromScratchThingBuilder.FromScratch. setFeatureProperties(java.lang.String featureId, FeatureProperties featureProperties)Sets the given properties to the Feature with the given ID on this builder.FeatureFeature. setProperties(FeatureProperties properties)Sets the given properties to a copy of this Feature.FeaturesFeatures. setProperties(java.lang.String featureId, FeatureProperties properties)Sets the given properties for the Feature with the given ID on a copy of this Features.Method parameters in org.eclipse.ditto.things.model with type arguments of type FeatureProperties Modifier and Type Method Description FeatureBuilder.FromCopyBuildableFeatureBuilder.FromCopyBuildable. desiredProperties(java.util.function.UnaryOperator<FeatureProperties> transform)Calls the giventransformfunction with the currently set desired properties of this builder.FeatureBuilder.FromCopyBuildableFeatureBuilder.FromCopyBuildable. properties(java.util.function.Function<FeatureProperties,FeatureProperties> transform)Calls the giventransformfunction with the currently set properties of this builder.FeatureBuilder.FromCopyBuildableFeatureBuilder.FromCopyBuildable. properties(java.util.function.Function<FeatureProperties,FeatureProperties> transform)Calls the giventransformfunction with the currently set properties of this builder. -
Uses of FeatureProperties in org.eclipse.ditto.things.model.signals.commands.modify
Methods in org.eclipse.ditto.things.model.signals.commands.modify that return FeatureProperties Modifier and Type Method Description FeaturePropertiesModifyFeatureDesiredProperties. getDesiredProperties()Returns the desired properties to modify.FeaturePropertiesModifyFeatureProperties. getProperties()Returns theFeaturePropertiesto modify.Methods in org.eclipse.ditto.things.model.signals.commands.modify that return types with arguments of type FeatureProperties Modifier and Type Method Description java.util.Optional<FeatureProperties>ModifyFeatureDesiredPropertiesResponse. getDesiredPropertiesCreated()Returns the created desired properties.java.util.Optional<FeatureProperties>ModifyFeaturePropertiesResponse. getFeaturePropertiesCreated()Returns the createdFeatureProperties.Methods in org.eclipse.ditto.things.model.signals.commands.modify with parameters of type FeatureProperties Modifier and Type Method Description static ModifyFeatureDesiredPropertiesResponseModifyFeatureDesiredPropertiesResponse. created(ThingId thingId, java.lang.CharSequence featureId, FeatureProperties desiredProperties, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)Returns a newModifyFeatureDesiredPropertiesResponsefor created desired properties of aFeature.static ModifyFeaturePropertiesResponseModifyFeaturePropertiesResponse. created(ThingId thingId, java.lang.String featureId, FeatureProperties featureProperties, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)Returns a newModifyFeaturePropertiesResponsefor a created FeatureProperties.static ModifyFeatureDesiredPropertiesModifyFeatureDesiredProperties. of(ThingId thingId, java.lang.CharSequence featureId, FeatureProperties desiredProperties, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)Returns a Command for modifying a Feature's desired properties on a Thing.static ModifyFeaturePropertiesModifyFeatureProperties. of(ThingId thingId, java.lang.String featureId, FeatureProperties properties, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)Returns a Command for modifying a Feature's Properties on a Thing.static MergeThingMergeThing. withFeatureDesiredProperties(ThingId thingId, java.lang.String featureId, FeatureProperties desiredFeatureProperties, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)Creates a command for merging the feature identified bythingIdandfeatureIdwith the givendesiredFeatureProperties.static MergeThingMergeThing. withFeatureProperties(ThingId thingId, java.lang.String featureId, FeatureProperties featureProperties, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)Creates a command for merging the feature identified bythingIdandfeatureIdwith the givenfeatureProperties. -
Uses of FeatureProperties in org.eclipse.ditto.things.model.signals.commands.query
Methods in org.eclipse.ditto.things.model.signals.commands.query that return FeatureProperties Modifier and Type Method Description FeaturePropertiesRetrieveFeatureDesiredPropertiesResponse. getDesiredProperties()Returns the retrieved desired properties.FeaturePropertiesRetrieveFeaturePropertiesResponse. getFeatureProperties()Returns the retrieved FeatureProperties.Methods in org.eclipse.ditto.things.model.signals.commands.query with parameters of type FeatureProperties Modifier and Type Method Description static RetrieveFeatureDesiredPropertiesResponseRetrieveFeatureDesiredPropertiesResponse. of(ThingId thingId, java.lang.CharSequence featureId, FeatureProperties desiredProperties, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)Creates a response to aRetrieveFeatureDesiredPropertiescommand.static RetrieveFeaturePropertiesResponseRetrieveFeaturePropertiesResponse. of(ThingId thingId, java.lang.String featureId, FeatureProperties featureProperties, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)Creates a response to aRetrieveFeaturePropertiescommand. -
Uses of FeatureProperties in org.eclipse.ditto.things.model.signals.events
Methods in org.eclipse.ditto.things.model.signals.events that return FeatureProperties Modifier and Type Method Description FeaturePropertiesFeatureDesiredPropertiesCreated. getDesiredProperties()Returns the created desired properties.FeaturePropertiesFeatureDesiredPropertiesModified. getDesiredProperties()Returns the modified desired properties.FeaturePropertiesFeaturePropertiesCreated. getProperties()Returns the createdFeatureProperties.FeaturePropertiesFeaturePropertiesModified. getProperties()Returns the modifiedFeatureProperties.Methods in org.eclipse.ditto.things.model.signals.events with parameters of type FeatureProperties Modifier and Type Method Description static FeatureDesiredPropertiesCreatedFeatureDesiredPropertiesCreated. of(ThingId thingId, java.lang.CharSequence featureId, FeatureProperties desiredProperties, long revision, java.time.Instant timestamp, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders, org.eclipse.ditto.base.model.entity.metadata.Metadata metadata)Constructs a newFeatureDesiredPropertiesCreatedobject.static FeatureDesiredPropertiesModifiedFeatureDesiredPropertiesModified. of(ThingId thingId, java.lang.CharSequence featureId, FeatureProperties desiredProperties, long revision, java.time.Instant timestamp, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders, org.eclipse.ditto.base.model.entity.metadata.Metadata metadata)Constructs a newFeatureDesiredPropertiesModifiedobject.static FeaturePropertiesCreatedFeaturePropertiesCreated. of(ThingId thingId, java.lang.String featureId, FeatureProperties properties, long revision, java.time.Instant timestamp, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders, org.eclipse.ditto.base.model.entity.metadata.Metadata metadata)Constructs a newPropertiesCreatedobject.static FeaturePropertiesModifiedFeaturePropertiesModified. of(ThingId thingId, java.lang.String featureId, FeatureProperties properties, long revision, java.time.Instant timestamp, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders, org.eclipse.ditto.base.model.entity.metadata.Metadata metadata)Constructs a newPropertiesModifiedobject.
-