Uses of Interface
org.eclipse.ditto.things.model.Features
Packages that use Features
-
Uses of Features in org.eclipse.ditto.things.model
Methods in org.eclipse.ditto.things.model that return FeaturesModifier and TypeMethodDescriptionFeaturesBuilder.build()Creates a newFeaturesobject containing all features which were set to this builder beforehand.static FeaturesThingsModelFactory.emptyFeatures()Returns a new immutable emptyFeatures.static FeaturesThingsModelFactory.newFeatures(Iterable<Feature> features) Returns a new immutableFeatureswhich is initialised with the features of the given Iterable.static FeaturesThingsModelFactory.newFeatures(String jsonString) Returns a new immutableFeaturesbased on the given JSON string.static FeaturesThingsModelFactory.newFeatures(org.eclipse.ditto.json.JsonObject jsonObject) Returns a new immutableFeaturesbased on the given JSON object.static FeaturesThingsModelFactory.newFeatures(Feature feature, Feature... additionalFeatures) Returns a new immutableFeatureswhich is initialised with the given features.static FeaturesThingsModelFactory.nullFeatures()Returns a new immutableFeatureswhich representsnull.Features.removeDefinition(String featureId) Removes the definition from the Feature with the given ID from a copy of this Features.Features.removeDesiredProperties(CharSequence featureId) Removes all desired properties of the Feature with the given ID from a copy of this Features.Features.removeDesiredProperty(CharSequence featureId, org.eclipse.ditto.json.JsonPointer desiredPropertyPath) Removes the desired property which is referred by the given JSON Pointer from the Feature with the given ID on a copy of this Features..Features.removeFeature(String featureId) Removes the Feature with the given ID from a copy of this Features.Features.removeProperties(String featureId) Removes all properties of the Feature with the given ID from a copy of this Features.Features.removeProperty(String featureId, org.eclipse.ditto.json.JsonPointer propertyPath) Removes the property which is referred by the given JSON Pointer from the Feature with the given ID on a copy of this Features..Features.setDefinition(String featureId, FeatureDefinition definition) Sets the given definition for the Feature with the given ID on a copy of this Features.Features.setDesiredProperties(CharSequence featureId, FeatureProperties desiredProperties) Sets the given desired properties for the Feature with the given ID on a copy of this Features.Features.setDesiredProperty(CharSequence featureId, org.eclipse.ditto.json.JsonPointer desiredPropertyPath, org.eclipse.ditto.json.JsonValue desiredPropertyValue) Sets the value of the desired property which is referred by the given JSON Pointer of the Feature with the given ID on a copy of this Features.Features.setFeature(Feature feature) Sets the given Feature to a copy of this Features.Features.setProperties(String featureId, FeatureProperties properties) Sets the given properties for the Feature with the given ID on a copy of this Features.Features.setProperty(String featureId, org.eclipse.ditto.json.JsonPointer propertyPath, org.eclipse.ditto.json.JsonValue propertyValue) Sets the value of the property which is referred by the given JSON Pointer of the Feature with the given ID on a copy of this Features.Methods in org.eclipse.ditto.things.model that return types with arguments of type FeaturesMethods in org.eclipse.ditto.things.model with parameters of type FeaturesModifier and TypeMethodDescriptionstatic org.eclipse.ditto.json.JsonFieldSelectorThingsModelFactory.expandFeatureIdWildcards(Features features, org.eclipse.ditto.json.JsonFieldSelector jsonFieldSelector) Returns a new instance ofJsonFieldSelectorwith expanded feature id wildcard.Thing.setFeatures(Features features) Sets the given Features to a copy of this Thing.Method parameters in org.eclipse.ditto.things.model with type arguments of type FeaturesModifier and TypeMethodDescriptionThingBuilder.FromCopy.removeAllFeatures(Predicate<Features> existingFeaturesPredicate) Removes all features from this builder.ThingBuilder.FromCopy.removeFeature(Predicate<Features> existingFeaturesPredicate, String featureId) Removes the Feature with the given ID from this builder.ThingBuilder.FromCopy.removeFeatureDesiredProperties(Predicate<Features> existingFeaturesPredicate, CharSequence featureId) Removes all desired properties from the Feature with the given ID on this builder.ThingBuilder.FromCopy.removeFeatureDesiredProperty(Predicate<Features> existingFeaturesPredicate, CharSequence featureId, org.eclipse.ditto.json.JsonPointer desiredPropertyPath) Removes the given desired property from the Feature with the given ID on this builder.ThingBuilder.FromCopy.removeFeatureProperties(Predicate<Features> existingFeaturesPredicate, String featureId) Removes all properties from the Feature with the given ID on this builder.ThingBuilder.FromCopy.removeFeatureProperty(Predicate<Features> existingFeaturesPredicate, String featureId, org.eclipse.ditto.json.JsonPointer propertyPath) Removes the given property from the Feature with the given ID on this builder.ThingBuilder.FromCopy.setFeature(Predicate<Features> existingFeaturesPredicate, CharSequence featureId, FeatureDefinition featureDefinition, FeatureProperties featureProperties, FeatureProperties featureDesiredProperties) Sets a Feature with the given ID and properties to this builder.ThingBuilder.FromCopy.setFeature(Predicate<Features> existingFeaturesPredicate, String featureId) Sets a Feature with the given ID to this builder.ThingBuilder.FromCopy.setFeature(Predicate<Features> existingFeaturesPredicate, String featureId, FeatureDefinition featureDefinition, FeatureProperties featureProperties) Sets a Feature with the given ID and properties to this builder.ThingBuilder.FromCopy.setFeature(Predicate<Features> existingFeaturesPredicate, String featureId, FeatureProperties featureProperties) Sets a Feature with the given ID and properties to this builder.ThingBuilder.FromCopy.setFeature(Predicate<Features> existingFeaturesPredicate, Feature feature) Sets the given Feature to this builder.ThingBuilder.FromCopy.setFeatureDefinition(Predicate<Features> existingFeaturesPredicate, String featureId, FeatureDefinition featureDefinition) Sets the given definition to the Feature with the given ID on this builder.ThingBuilder.FromCopy.setFeatureDesiredProperties(Predicate<Features> existingFeaturesPredicate, CharSequence featureId, FeatureProperties desiredFeatureProperties) Sets the given desired properties to the Feature with the given ID on this builder.ThingBuilder.FromCopy.setFeatureDesiredProperty(Predicate<Features> existingFeaturesPredicate, CharSequence featureId, org.eclipse.ditto.json.JsonPointer desiredPropertyPath, org.eclipse.ditto.json.JsonValue desiredPropertyValue) Sets the given desired property to the Feature with the given ID on this builder.ThingBuilder.FromCopy.setFeatureProperties(Predicate<Features> existingFeaturesPredicate, String featureId, FeatureProperties featureProperties) Sets the given properties to the Feature with the given ID on this builder.ThingBuilder.FromCopy.setFeatureProperty(Predicate<Features> existingFeaturesPredicate, String featureId, org.eclipse.ditto.json.JsonPointer propertyPath, org.eclipse.ditto.json.JsonValue propertyValue) Sets the given property to the Feature with the given ID on this builder.ThingBuilder.FromCopy.setFeatures(Predicate<Features> existingFeaturesPredicate, Iterable<Feature> features) Sets the given Features to this builder.ThingBuilder.FromCopy.setFeatures(Predicate<Features> existingFeaturesPredicate, String featuresJsonString) Sets the Features of the Thing based on the given JSON object.ThingBuilder.FromCopy.setFeatures(Predicate<Features> existingFeaturesPredicate, org.eclipse.ditto.json.JsonObject featuresJsonObject) Sets the features to this builder. -
Uses of Features in org.eclipse.ditto.things.model.signals.commands.modify
Methods in org.eclipse.ditto.things.model.signals.commands.modify that return FeaturesModifier and TypeMethodDescriptionModifyFeatures.getFeatures()Returns the newFeaturesto modify.Methods in org.eclipse.ditto.things.model.signals.commands.modify that return types with arguments of type FeaturesModifier and TypeMethodDescriptionModifyFeaturesResponse.getFeaturesCreated()Returns the createdFeatures.Methods in org.eclipse.ditto.things.model.signals.commands.modify with parameters of type FeaturesModifier and TypeMethodDescriptionstatic ModifyFeaturesResponseModifyFeaturesResponse.created(ThingId thingId, Features features, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a newModifyFeaturesResponsefor a created Feature.static ModifyFeaturesResponseModifyFeaturesResponse.newInstance(ThingId thingId, Features features, org.eclipse.ditto.base.model.common.HttpStatus httpStatus, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a new instance ofModifyFeaturesResponsefor the specified arguments.static ModifyFeaturesModifyFeatures.of(ThingId thingId, Features features, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a Command for modifying the Features of a Thing.static MergeThingMergeThing.withFeatures(ThingId thingId, Features features, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Creates a command for merging the thing identified bythingIdwith the givenfeatures. -
Uses of Features in org.eclipse.ditto.things.model.signals.commands.query
Methods in org.eclipse.ditto.things.model.signals.commands.query that return FeaturesModifier and TypeMethodDescriptionRetrieveFeaturesResponse.getFeatures()Returns the retrieved Features.Methods in org.eclipse.ditto.things.model.signals.commands.query with parameters of type FeaturesModifier and TypeMethodDescriptionstatic RetrieveFeaturesResponseRetrieveFeaturesResponse.newInstance(ThingId thingId, Features features, org.eclipse.ditto.base.model.common.HttpStatus httpStatus, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a new instance ofRetrieveFeaturesResponsefor the specified arguments.static RetrieveFeaturesResponseRetrieveFeaturesResponse.of(ThingId thingId, Features features, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Creates a response to aRetrieveFeaturescommand. -
Uses of Features in org.eclipse.ditto.things.model.signals.events
Methods in org.eclipse.ditto.things.model.signals.events that return FeaturesModifier and TypeMethodDescriptionFeaturesCreated.getFeatures()Returns the createdFeatures.FeaturesModified.getFeatures()Returns the modifiedFeatures.Methods in org.eclipse.ditto.things.model.signals.events with parameters of type FeaturesModifier and TypeMethodDescriptionstatic FeaturesCreatedFeaturesCreated.of(ThingId thingId, Features features, long revision, Instant timestamp, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders, org.eclipse.ditto.base.model.entity.metadata.Metadata metadata) Constructs a newFeaturesCreatedobject.static FeaturesModifiedFeaturesModified.of(ThingId thingId, Features features, long revision, Instant timestamp, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders, org.eclipse.ditto.base.model.entity.metadata.Metadata metadata) Constructs a newFeaturesModifiedobject.