Uses of Interface
org.eclipse.ditto.things.model.ThingDefinition
-
Packages that use ThingDefinition 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 ThingDefinition in org.eclipse.ditto.things.model
Methods in org.eclipse.ditto.things.model that return ThingDefinition Modifier and Type Method Description static ThingDefinitionThingsModelFactory. newDefinition(java.lang.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 ThingDefinition Modifier and Type Method Description java.util.Optional<ThingDefinition>Thing. getDefinition()Gets the definition of this Thing.Methods in org.eclipse.ditto.things.model with parameters of type ThingDefinition Modifier and Type Method Description ThingBuilder.FromCopyThingBuilder.FromCopy. setDefinition(ThingDefinition definition)Sets the given definition to this builder.ThingBuilder.FromScratchThingBuilder.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 ThingDefinition Modifier and Type Method Description ThingDefinitionModifyThingDefinition. getDefinition()Returns the new Definition.Methods in org.eclipse.ditto.things.model.signals.commands.modify that return types with arguments of type ThingDefinition Modifier and Type Method Description java.util.Optional<ThingDefinition>ModifyThingDefinitionResponse. getDefinition()Returns the created definition.Methods in org.eclipse.ditto.things.model.signals.commands.modify with parameters of type ThingDefinition Modifier and Type Method Description static ModifyThingDefinitionResponseModifyThingDefinitionResponse. created(ThingId thingId, ThingDefinition definition, org.eclipse.ditto.base.model.headers.DittoHeaders dittoHeaders)Returns a newModifyThingDefinitionResponsefor a created definition.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 ThingDefinition Modifier and Type Method Description ThingDefinitionRetrieveThingDefinitionResponse. getThingDefinition()Returns the retrieved Definition.Methods in org.eclipse.ditto.things.model.signals.commands.query with parameters of type ThingDefinition Modifier and Type Method Description static RetrieveThingDefinitionResponseRetrieveThingDefinitionResponse. 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 ThingDefinition Modifier and Type Method Description ThingDefinitionThingDefinitionCreated. getThingDefinition()Returns the definition object created.ThingDefinitionThingDefinitionModified. getThingDefinition()Returns the modifiedThingDefinition.Methods in org.eclipse.ditto.things.model.signals.events with parameters of type ThingDefinition Modifier and Type Method Description static ThingDefinitionCreatedThingDefinitionCreated. of(ThingId thingId, ThingDefinition definition, 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 newThingDefinitionCreatedobject.static ThingDefinitionModifiedThingDefinitionModified. of(ThingId thingId, ThingDefinition definition, 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 newThingDefinitionModifiedobject.
-