Uses of Interface
org.eclipse.ditto.things.model.FeatureDefinition
Packages that use FeatureDefinition
-
Uses of FeatureDefinition in org.eclipse.ditto.things.model
Methods in org.eclipse.ditto.things.model that return FeatureDefinitionModifier and TypeMethodDescriptionFeatureDefinitionBuilder.build()Returns an immutable instance ofFeatureDefinitioncontaining the Identifiers which were provided to this builder so far.static FeatureDefinitionFeatureDefinition.fromIdentifier(CharSequence identifier, CharSequence... furtherIdentifiers) Parses the specified CharSequence to an Identifier and returns an immutableFeatureDefinitioncontaining that Identifier.static FeatureDefinitionReturns a new immutableFeatureDefinitionwhich is initialised with the values of the given JSON string.static FeatureDefinitionFeatureDefinition.fromJson(org.eclipse.ditto.json.JsonArray jsonArray) Returns a new immutableFeatureDefinitionwhich is initialised with the values of the given JSON array.static FeatureDefinitionThingsModelFactory.newFeatureDefinition(String jsonString) Returns a new immutableFeatureDefinitionwhich is initialised with the values of the given JSON string.static FeatureDefinitionThingsModelFactory.newFeatureDefinition(Collection<DefinitionIdentifier> definitionIdentifiers) Creates a new instance ofImmutableFeatureDefinitionbased on the passeddefinitionIdentifiers.static FeatureDefinitionThingsModelFactory.newFeatureDefinition(org.eclipse.ditto.json.JsonArray jsonArray) Parses the specified JsonArray and returns an immutable instance ofFeatureDefinitionwhich is initialised with the values of the given JSON array.static FeatureDefinitionThingsModelFactory.nullFeatureDefinition()Returns a new immutableFeatureDefinitionwhich representsnull.Methods in org.eclipse.ditto.things.model that return types with arguments of type FeatureDefinitionModifier and TypeMethodDescriptionFeature.getDefinition()Returns the attached Definition of this Feature.Methods in org.eclipse.ditto.things.model with parameters of type FeatureDefinitionModifier and TypeMethodDescriptionFeatureBuilder.FromCopyBuildable.definition(FeatureDefinition featureDefinition) Sets the specified Definition to the Feature to be built.FeatureBuilder.FromScratchBuildable.definition(FeatureDefinition featureDefinition) Sets the specified Definition to the Feature to be built.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, 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.Feature.setDefinition(FeatureDefinition featureDefinition) Sets the specified Definition to a copy of this Feature.Features.setDefinition(String featureId, FeatureDefinition definition) Sets the given definition for the Feature with the given ID on a copy of this Features.default ThingBuilder.FromCopyThingBuilder.FromCopy.setFeature(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(String featureId, FeatureDefinition featureDefinition, FeatureProperties featureProperties) Sets a Feature with the given ID and properties to 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, FeatureDefinition featureDefinition, FeatureProperties featureProperties) Sets a Feature with the given ID and properties to this builder.ThingBuilder.FromScratch.setFeature(CharSequence featureId, FeatureDefinition featureDefinition, FeatureProperties featureProperties, FeatureProperties featureDesiredProperties) Sets a Feature with the given ID and properties to this builder.ThingBuilder.FromScratch.setFeature(String featureId, FeatureDefinition featureDefinition, FeatureProperties featureProperties) Sets a Feature with the given ID and properties to this builder.Thing.setFeatureDefinition(String featureId, FeatureDefinition definition) Sets the given definition of a Feature on a copy of this Thing.default ThingBuilder.FromCopyThingBuilder.FromCopy.setFeatureDefinition(String featureId, FeatureDefinition featureDefinition) Sets the given definition to the Feature with the given ID on 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.FromScratch.setFeatureDefinition(String featureId, FeatureDefinition featureDefinition) Sets the given definition to the Feature with the given ID on this builder. -
Uses of FeatureDefinition in org.eclipse.ditto.things.model.signals.commands.modify
Methods in org.eclipse.ditto.things.model.signals.commands.modify that return FeatureDefinitionModifier and TypeMethodDescriptionModifyFeatureDefinition.getDefinition()Returns theFeatureDefinitionto modify.Methods in org.eclipse.ditto.things.model.signals.commands.modify that return types with arguments of type FeatureDefinitionModifier and TypeMethodDescriptionModifyFeatureDefinitionResponse.getFeatureDefinitionCreated()Returns the createdFeatureDefinition.Methods in org.eclipse.ditto.things.model.signals.commands.modify with parameters of type FeatureDefinitionModifier and TypeMethodDescriptionModifyFeatureDefinitionResponse.created(ThingId thingId, String featureId, FeatureDefinition definitionCreated, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a newModifyFeatureDefinitionResponsefor a created FeatureDefinition.ModifyFeatureDefinitionResponse.newInstance(ThingId thingId, String featureId, FeatureDefinition definitionCreated, org.eclipse.ditto.base.model.common.HttpStatus httpStatus, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a new instance ofModifyFeatureDefinitionResponsefor the specified arguments.static ModifyFeatureDefinitionModifyFeatureDefinition.of(ThingId thingId, String featureId, FeatureDefinition definition, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a Command for modifying a Feature's Definition on a Thing.static MergeThingMergeThing.withFeatureDefinition(ThingId thingId, String featureId, FeatureDefinition featureDefinition, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Creates a command for merging the feature identified bythingIdandfeatureIdwith the givenfeatureDefinition. -
Uses of FeatureDefinition in org.eclipse.ditto.things.model.signals.commands.query
Methods in org.eclipse.ditto.things.model.signals.commands.query that return FeatureDefinitionModifier and TypeMethodDescriptionRetrieveFeatureDefinitionResponse.getDefinition()Returns the retrieved FeatureDefinition.Methods in org.eclipse.ditto.things.model.signals.commands.query with parameters of type FeatureDefinitionModifier and TypeMethodDescriptionRetrieveFeatureDefinitionResponse.of(ThingId thingId, String featureId, FeatureDefinition definition, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Creates a response to aRetrieveFeatureDefinitioncommand. -
Uses of FeatureDefinition in org.eclipse.ditto.things.model.signals.events
Methods in org.eclipse.ditto.things.model.signals.events that return FeatureDefinitionModifier and TypeMethodDescriptionFeatureDefinitionCreated.getDefinition()Returns the createdFeatureDefinition.FeatureDefinitionModified.getDefinition()Returns the modifiedFeatureDefinition.Methods in org.eclipse.ditto.things.model.signals.events with parameters of type FeatureDefinitionModifier and TypeMethodDescriptionstatic FeatureDefinitionCreatedFeatureDefinitionCreated.of(ThingId thingId, String featureId, FeatureDefinition definition, long revision, Instant timestamp, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders, org.eclipse.ditto.base.model.entity.metadata.Metadata metadata) Constructs a newFeatureDefinitionCreatedobject.static FeatureDefinitionModifiedFeatureDefinitionModified.of(ThingId thingId, String featureId, FeatureDefinition definition, long revision, Instant timestamp, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders, org.eclipse.ditto.base.model.entity.metadata.Metadata metadata) Constructs a newFeatureDefinitionModifiedobject.