Uses of Interface
org.eclipse.ditto.things.model.Feature
Packages that use Feature
-
Uses of Feature in org.eclipse.ditto.things.model
Methods in org.eclipse.ditto.things.model that return FeatureModifier and TypeMethodDescriptionFeatureBuilder.FeatureBuildable.build()Creates a newFeatureobject based on the data which were set to this builder beforehand.FeatureBuilder.FromCopyBuildable.build()Creates a new Feature object based on the data which was provided to this builder.static FeatureThingsModelFactory.newFeature(CharSequence featureId, FeatureDefinition featureDefinition, FeatureProperties featureProperties, FeatureProperties desiredFeatureProperties) Returns a new immutableFeaturewith the given ID, properties, desired Properties and Definition.static FeatureThingsModelFactory.newFeature(String featureId) Returns a new immutableFeaturewith the given ID.static FeatureThingsModelFactory.newFeature(String featureId, FeatureDefinition featureDefinition) Returns a new immutableFeaturewith the given ID, properties and Definition.static FeatureThingsModelFactory.newFeature(String featureId, FeatureDefinition featureDefinition, FeatureProperties featureProperties) Returns a new immutableFeaturewith the given ID, properties and Definition.static FeatureThingsModelFactory.newFeature(String featureId, FeatureProperties featureProperties) Returns a new immutableFeaturewith the given ID and properties.static FeatureThingsModelFactory.nullFeature(String featureId) Returns a new immutableFeaturewhich representsnull.Feature.removeDefinition()Removes the Definition from a copy of this Feature.Feature.removeDesiredProperties()Removes all desired properties on a copy of this Feature.default FeatureFeature.removeDesiredProperty(CharSequence pointer) Removes the desired property specified by a JSON Pointer from a copy of this Feature.Feature.removeDesiredProperty(org.eclipse.ditto.json.JsonPointer pointer) Removes the desired property specified by a JSON Pointer from a copy of this Feature.Feature.removeProperties()Removes all properties on a copy of this Feature.default FeatureFeature.removeProperty(CharSequence pointer) Removes the property specified by a JSON Pointer from a copy of this Feature.Feature.removeProperty(org.eclipse.ditto.json.JsonPointer pointer) Removes the property specified by a JSON Pointer from a copy of this Feature.Feature.setDefinition(FeatureDefinition featureDefinition) Sets the specified Definition to a copy of this Feature.Feature.setDesiredProperties(FeatureProperties desiredProperties) Sets the given desired properties to a copy of this Feature.default FeatureFeature.setDesiredProperty(CharSequence pointer, boolean desiredPropertyValue) Sets the value of a desired property which is referred by the given JSON Pointer.default FeatureFeature.setDesiredProperty(CharSequence pointer, double desiredPropertyValue) Sets the value of a desired property which is referred by the given JSON Pointer.default FeatureFeature.setDesiredProperty(CharSequence pointer, int desiredPropertyValue) Sets the value of a desired property which is referred by the given JSON Pointer.default FeatureFeature.setDesiredProperty(CharSequence pointer, long desiredPropertyValue) Sets the value of a desired property which is referred by the given JSON Pointer.default FeatureFeature.setDesiredProperty(CharSequence pointer, String desiredPropertyValue) Sets the value of a desired property which is referred by the given JSON Pointer.default FeatureFeature.setDesiredProperty(CharSequence pointer, org.eclipse.ditto.json.JsonValue desiredPropertyValue) Sets the value of a desired property which is referred by the given JSON Pointer.Feature.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.Feature.setProperties(FeatureProperties properties) Sets the given properties to a copy of this Feature.default FeatureFeature.setProperty(CharSequence pointer, boolean propertyValue) Sets the value of a property which is referred by the given JSON Pointer.default FeatureFeature.setProperty(CharSequence pointer, double propertyValue) Sets the value of a property which is referred by the given JSON Pointer.default FeatureFeature.setProperty(CharSequence pointer, int propertyValue) Sets the value of a property which is referred by the given JSON Pointer.default FeatureFeature.setProperty(CharSequence pointer, long propertyValue) Sets the value of a property which is referred by the given JSON Pointer.default FeatureFeature.setProperty(CharSequence pointer, String propertyValue) Sets the value of a property which is referred by the given JSON Pointer.default FeatureFeature.setProperty(CharSequence pointer, org.eclipse.ditto.json.JsonValue propertyValue) Sets the value of a property which is referred by the given JSON Pointer.Feature.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 FeatureModifier and TypeMethodDescriptionFeaturesBuilder.get(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.Features.getFeature(String featureId) Returns the Feature with the given ID or an empty optional.Features.stream()Returns a sequentialStreamwith the values of this Features as its source.Methods in org.eclipse.ditto.things.model with parameters of type FeatureModifier and TypeMethodDescriptionThingsModelFactory.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.Removes the given Feature from this builder.Sets the given Feature to this builder.Features.setFeature(Feature feature) Sets the given Feature to a copy of this Features.Thing.setFeature(Feature feature) Sets the given Feature to a copy of this Thing.ThingBuilder.FromCopy.setFeature(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.FromScratch.setFeature(Feature feature) Sets the given Feature to this builder.Method parameters in org.eclipse.ditto.things.model with type arguments of type FeatureModifier and TypeMethodDescriptionstatic FeaturesThingsModelFactory.newFeatures(Iterable<Feature> features) Returns a new immutableFeatureswhich is initialised with the features of the given Iterable.static FeaturesBuilderThingsModelFactory.newFeaturesBuilder(Iterable<Feature> features) Returns a new mutable builder with a fluent API for an immutableFeatures.Sets all given Features to this builder.default ThingBuilder.FromCopyThingBuilder.FromCopy.setFeatures(Iterable<Feature> features) Sets the given Features to this builder.ThingBuilder.FromCopy.setFeatures(Predicate<Features> existingFeaturesPredicate, Iterable<Feature> features) Sets the given Features to this builder.ThingBuilder.FromScratch.setFeatures(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 FeatureMethods in org.eclipse.ditto.things.model.signals.commands.modify that return types with arguments of type FeatureModifier and TypeMethodDescriptionModifyFeatureResponse.getFeatureCreated()Returns the createdFeature.Methods in org.eclipse.ditto.things.model.signals.commands.modify with parameters of type FeatureModifier and TypeMethodDescriptionstatic ModifyFeatureResponseModifyFeatureResponse.created(ThingId thingId, Feature feature, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a newModifyFeatureResponsefor a created Feature.static ModifyFeatureResponseModifyFeatureResponse.newInstance(ThingId thingId, Feature feature, String featureId, org.eclipse.ditto.base.model.common.HttpStatus httpStatus, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a new instance ofModifyFeatureResponsefor the specified arguments.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 FeatureModifier and TypeMethodDescriptionRetrieveFeatureResponse.getFeature()Returns the retrieved Feature.Methods in org.eclipse.ditto.things.model.signals.commands.query with parameters of type FeatureModifier and TypeMethodDescriptionstatic RetrieveFeatureResponseRetrieveFeatureResponse.newInstance(ThingId thingId, Feature feature, org.eclipse.ditto.base.model.common.HttpStatus httpStatus, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a new instance ofRetrieveFeatureResponsefor the specified arguments.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 FeatureModifier and TypeMethodDescriptionFeatureCreated.getFeature()Returns the createdFeature.FeatureModified.getFeature()Returns the modifiedFeature.Methods in org.eclipse.ditto.things.model.signals.events with parameters of type FeatureModifier and TypeMethodDescriptionstatic FeatureCreatedFeatureCreated.of(ThingId thingId, Feature feature, long revision, 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, Instant timestamp, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders, org.eclipse.ditto.base.model.entity.metadata.Metadata metadata) Constructs a newFeatureModifiedobject.