Uses of Interface
org.eclipse.ditto.things.model.Feature
-
Packages that use Feature 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 Feature in org.eclipse.ditto.things.model
Methods in org.eclipse.ditto.things.model that return Feature Modifier and Type Method Description FeatureFeatureBuilder.FeatureBuildable. build()Creates a newFeatureobject based on the data which were set to this builder beforehand.FeatureFeatureBuilder.FromCopyBuildable. build()Creates a new Feature object based on the data which was provided to this builder.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)Returns a new immutableFeaturewith the given ID.static FeatureThingsModelFactory. newFeature(java.lang.String featureId, FeatureDefinition featureDefinition)Returns a new immutableFeaturewith the given ID, 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.static FeatureThingsModelFactory. nullFeature(java.lang.String featureId)Returns a new immutableFeaturewhich representsnull.FeatureFeature. removeDefinition()Removes the Definition from a copy of this Feature.FeatureFeature. removeDesiredProperties()Removes all desired properties on a copy of this Feature.default FeatureFeature. removeDesiredProperty(java.lang.CharSequence pointer)Removes the desired property specified by a JSON Pointer from a copy of this Feature.FeatureFeature. removeDesiredProperty(org.eclipse.ditto.json.JsonPointer pointer)Removes the desired property specified by a JSON Pointer from a copy of this Feature.FeatureFeature. removeProperties()Removes all properties on a copy of this Feature.default FeatureFeature. removeProperty(java.lang.CharSequence pointer)Removes the property specified by a JSON Pointer from a copy of this Feature.FeatureFeature. removeProperty(org.eclipse.ditto.json.JsonPointer pointer)Removes the property specified by a JSON Pointer from a copy of this Feature.FeatureFeature. setDefinition(FeatureDefinition featureDefinition)Sets the specified Definition to a copy of this Feature.FeatureFeature. setDesiredProperties(FeatureProperties desiredProperties)Sets the given desired properties to a copy of this Feature.default FeatureFeature. setDesiredProperty(java.lang.CharSequence pointer, boolean desiredPropertyValue)Sets the value of a desired property which is referred by the given JSON Pointer.default FeatureFeature. setDesiredProperty(java.lang.CharSequence pointer, double desiredPropertyValue)Sets the value of a desired property which is referred by the given JSON Pointer.default FeatureFeature. setDesiredProperty(java.lang.CharSequence pointer, int desiredPropertyValue)Sets the value of a desired property which is referred by the given JSON Pointer.default FeatureFeature. setDesiredProperty(java.lang.CharSequence pointer, long desiredPropertyValue)Sets the value of a desired property which is referred by the given JSON Pointer.default FeatureFeature. setDesiredProperty(java.lang.CharSequence pointer, java.lang.String desiredPropertyValue)Sets the value of a desired property which is referred by the given JSON Pointer.default FeatureFeature. setDesiredProperty(java.lang.CharSequence pointer, org.eclipse.ditto.json.JsonValue desiredPropertyValue)Sets the value of a desired property which is referred by the given JSON Pointer.FeatureFeature. setDesiredProperty(org.eclipse.ditto.json.JsonPointer pointer, org.eclipse.ditto.json.JsonValue desiredPropertyValue)Sets the value of a desired property which is referred by the given JSON Pointer.FeatureFeature. setProperties(FeatureProperties properties)Sets the given properties to a copy of this Feature.default FeatureFeature. setProperty(java.lang.CharSequence pointer, boolean propertyValue)Sets the value of a property which is referred by the given JSON Pointer.default FeatureFeature. setProperty(java.lang.CharSequence pointer, double propertyValue)Sets the value of a property which is referred by the given JSON Pointer.default FeatureFeature. setProperty(java.lang.CharSequence pointer, int propertyValue)Sets the value of a property which is referred by the given JSON Pointer.default FeatureFeature. setProperty(java.lang.CharSequence pointer, long propertyValue)Sets the value of a property which is referred by the given JSON Pointer.default FeatureFeature. setProperty(java.lang.CharSequence pointer, java.lang.String propertyValue)Sets the value of a property which is referred by the given JSON Pointer.default FeatureFeature. setProperty(java.lang.CharSequence pointer, org.eclipse.ditto.json.JsonValue propertyValue)Sets the value of a property which is referred by the given JSON Pointer.FeatureFeature. setProperty(org.eclipse.ditto.json.JsonPointer pointer, org.eclipse.ditto.json.JsonValue propertyValue)Sets the value of a property which is referred by the given JSON Pointer.Methods in org.eclipse.ditto.things.model that return types with arguments of type Feature Modifier and Type Method Description java.util.Optional<Feature>FeaturesBuilder. get(java.lang.CharSequence featureId)Returns the Feature with the specified identifier from this builder or an empty Optional if such a Feature is unknown to this builder.java.util.Optional<Feature>Features. getFeature(java.lang.String featureId)Returns the Feature with the given ID or an empty optional.java.util.stream.Stream<Feature>Features. stream()Returns a sequentialStreamwith the values of this Features as its source.Methods in org.eclipse.ditto.things.model with parameters of type Feature Modifier and Type Method Description static FeatureBuilder.FromCopyBuildableThingsModelFactory. newFeatureBuilder(Feature feature)Returns a new builder for an immutableFeaturewhich is initialised with the values of the given Feature.static FeaturesThingsModelFactory. newFeatures(Feature feature, Feature... additionalFeatures)Returns a new immutableFeatureswhich is initialised with the given features.FeaturesBuilderFeaturesBuilder. remove(Feature feature)Removes the given Feature from this builder.FeaturesBuilderFeaturesBuilder. set(Feature feature)Sets the given Feature to this builder.FeaturesFeatures. setFeature(Feature feature)Sets the given Feature to a copy of this Features.ThingThing. setFeature(Feature feature)Sets the given Feature to a copy of this Thing.ThingBuilder.FromCopyThingBuilder.FromCopy. setFeature(java.util.function.Predicate<Features> existingFeaturesPredicate, Feature feature)Sets the given Feature to this builder.default ThingBuilder.FromCopyThingBuilder.FromCopy. setFeature(Feature feature)Sets the given Feature to this builder.ThingBuilder.FromScratchThingBuilder.FromScratch. setFeature(Feature feature)Sets the given Feature to this builder.Method parameters in org.eclipse.ditto.things.model with type arguments of type Feature Modifier and Type Method Description static FeaturesThingsModelFactory. newFeatures(java.lang.Iterable<Feature> features)Returns a new immutableFeatureswhich is initialised with the features of the given Iterable.static FeaturesBuilderThingsModelFactory. newFeaturesBuilder(java.lang.Iterable<Feature> features)Returns a new mutable builder with a fluent API for an immutableFeatures.FeaturesBuilderFeaturesBuilder. setAll(java.lang.Iterable<Feature> features)Sets all given Features to this builder.default ThingBuilder.FromCopyThingBuilder.FromCopy. setFeatures(java.lang.Iterable<Feature> features)Sets the given Features to this builder.ThingBuilder.FromCopyThingBuilder.FromCopy. setFeatures(java.util.function.Predicate<Features> existingFeaturesPredicate, java.lang.Iterable<Feature> features)Sets the given Features to this builder.ThingBuilder.FromScratchThingBuilder.FromScratch. setFeatures(java.lang.Iterable<Feature> features)Sets the given Features to this builder. -
Uses of Feature in org.eclipse.ditto.things.model.signals.commands.modify
Methods in org.eclipse.ditto.things.model.signals.commands.modify that return Feature Modifier and Type Method Description FeatureModifyFeature. getFeature()Returns the newFeatureto modify.Methods in org.eclipse.ditto.things.model.signals.commands.modify that return types with arguments of type Feature Modifier and Type Method Description java.util.Optional<Feature>ModifyFeatureResponse. getFeatureCreated()Returns the createdFeature.Methods in org.eclipse.ditto.things.model.signals.commands.modify with parameters of type Feature Modifier and Type Method Description static ModifyFeatureResponseModifyFeatureResponse. created(ThingId thingId, Feature feature, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)Returns a newModifyFeatureResponsefor a created Feature.static ModifyFeatureModifyFeature. of(ThingId thingId, Feature feature, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)Returns a Command for modifying a Feature on a Thing.static MergeThingMergeThing. withFeature(ThingId thingId, Feature feature, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)Creates a command for merging the thing identified bythingIdwith the givenfeature. -
Uses of Feature in org.eclipse.ditto.things.model.signals.commands.query
Methods in org.eclipse.ditto.things.model.signals.commands.query that return Feature Modifier and Type Method Description FeatureRetrieveFeatureResponse. getFeature()Returns the retrieved Feature.Methods in org.eclipse.ditto.things.model.signals.commands.query with parameters of type Feature Modifier and Type Method Description static RetrieveFeatureResponseRetrieveFeatureResponse. of(ThingId thingId, Feature feature, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)Creates a response to aRetrieveFeaturecommand. -
Uses of Feature in org.eclipse.ditto.things.model.signals.events
Methods in org.eclipse.ditto.things.model.signals.events that return Feature Modifier and Type Method Description FeatureFeatureCreated. getFeature()Returns the createdFeature.FeatureFeatureModified. getFeature()Returns the modifiedFeature.Methods in org.eclipse.ditto.things.model.signals.events with parameters of type Feature Modifier and Type Method Description static FeatureCreatedFeatureCreated. of(ThingId thingId, Feature feature, 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 newFeatureCreatedobject.static FeatureModifiedFeatureModified. of(ThingId thingId, Feature feature, 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 newFeatureModifiedobject.
-