Uses of Interface
org.eclipse.ditto.things.model.ThingDefinition
Packages that use ThingDefinition
-
Uses of ThingDefinition in org.eclipse.ditto.things.model
Methods in org.eclipse.ditto.things.model that return ThingDefinitionModifier and TypeMethodDescriptionstatic ThingDefinitionThingsModelFactory.newDefinition(CharSequence thingDefinition) Returns a new immutableThingDefinitionwhich is initialised with the parsedthingDefinition.static ThingDefinitionThingsModelFactory.nullDefinition()Returns a new immutableThingDefinitionwhich representsnull.Methods in org.eclipse.ditto.things.model that return types with arguments of type ThingDefinitionMethods in org.eclipse.ditto.things.model with parameters of type ThingDefinitionModifier and TypeMethodDescriptionThingBuilder.FromCopy.setDefinition(ThingDefinition definition) Sets the given definition to this builder.ThingBuilder.FromScratch.setDefinition(ThingDefinition definition) Sets the given ThingDefinition to this builder. -
Uses of ThingDefinition in org.eclipse.ditto.things.model.signals.commands.modify
Methods in org.eclipse.ditto.things.model.signals.commands.modify that return ThingDefinitionModifier and TypeMethodDescriptionModifyThingDefinition.getDefinition()Returns the new Definition.Methods in org.eclipse.ditto.things.model.signals.commands.modify that return types with arguments of type ThingDefinitionModifier and TypeMethodDescriptionModifyThingDefinitionResponse.getDefinition()Returns the created definition.Methods in org.eclipse.ditto.things.model.signals.commands.modify with parameters of type ThingDefinitionModifier and TypeMethodDescriptionModifyThingDefinitionResponse.created(ThingId thingId, ThingDefinition definition, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a newModifyThingDefinitionResponsefor a created definition.ModifyThingDefinitionResponse.newInstance(ThingId thingId, ThingDefinition definition, org.eclipse.ditto.base.model.common.HttpStatus httpStatus, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a new instance ofModifyThingDefinitionResponsefor the specified arguments.static ModifyThingDefinitionModifyThingDefinition.of(ThingId thingId, ThingDefinition definition, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a command for modifying a definition which is passed as argument.static MergeThingMergeThing.withThingDefinition(ThingId thingId, ThingDefinition thingDefinition, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Creates a command for merging the thing identified bythingIdwith the giventhingDefinition. -
Uses of ThingDefinition in org.eclipse.ditto.things.model.signals.commands.query
Methods in org.eclipse.ditto.things.model.signals.commands.query that return ThingDefinitionModifier and TypeMethodDescriptionRetrieveThingDefinitionResponse.getThingDefinition()Returns the retrieved Definition.Methods in org.eclipse.ditto.things.model.signals.commands.query with parameters of type ThingDefinitionModifier and TypeMethodDescriptionRetrieveThingDefinitionResponse.newInstance(ThingId thingId, ThingDefinition definition, org.eclipse.ditto.base.model.common.HttpStatus httpStatus, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Returns a new instance ofRetrieveThingDefinitionResponsefor the specified arguments.RetrieveThingDefinitionResponse.of(ThingId thingId, ThingDefinition definition, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders) Creates a response to aRetrieveThingDefinitioncommand. -
Uses of ThingDefinition in org.eclipse.ditto.things.model.signals.events
Methods in org.eclipse.ditto.things.model.signals.events that return ThingDefinitionModifier and TypeMethodDescriptionThingDefinitionCreated.getThingDefinition()Returns the definition object created.ThingDefinitionModified.getThingDefinition()Returns the modifiedThingDefinition.Methods in org.eclipse.ditto.things.model.signals.events with parameters of type ThingDefinitionModifier and TypeMethodDescriptionstatic ThingDefinitionCreatedThingDefinitionCreated.of(ThingId thingId, ThingDefinition definition, long revision, Instant timestamp, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders, org.eclipse.ditto.base.model.entity.metadata.Metadata metadata) Constructs a newThingDefinitionCreatedobject.static ThingDefinitionModifiedThingDefinitionModified.of(ThingId thingId, ThingDefinition definition, long revision, Instant timestamp, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders, org.eclipse.ditto.base.model.entity.metadata.Metadata metadata) Constructs a newThingDefinitionModifiedobject.