Package org.eclipse.ditto.things.model
@AllValuesAreNonnullByDefault
package org.eclipse.ditto.things.model
Contains the Things framework around the cornerstone of this package:
Thing.
A Thing can consist of
Attributesfor describing the Thing in more details,- and
Featuresfor managing all data and functionality of the Thing.
Furthermore a Thing can have a ThingLifecycle and a
ThingRevision which is incremented with each change of the Thing.
Object creation
ThingsModelFactory is the main entry point for obtaining objects of this
package's interfaces to work with.-
ClassDescription
Attributesdescribe other entities (e.A mutable builder for aAttributeswith a fluent API.Factory that creates newattributesobjects.This interface represents a single fully qualified Identifier of aDefinitionboth used forThingandFeature.This exception is thrown if an Identifier of a Feature Definition has an invalid structure.A mutable builder with a fluent API for an immutableDefinitionIdentifierInvalidException.A Feature is used to manage all data and functionality of aThingthat can be clustered in an outlined technical context.An enumeration of the knownJsonFields of a Feature.A mutable builder for for aFeaturewhich uses Object Scoping and Method Chaining to provide a fluent API.This interface eventually allows create a newFeatureobject.A mutable builder with a fluent API for an immutableFeature.This interface enables the creation of aFeatureobject from JSON.This interface enables the creation of aFeatureobject from scratch.A FeatureDefinition is a list of fully qualifiedDefinitionIdentifiers.A mutable builder with a fluent API for an immutableFeatureDefinition.This exception is thrown if a Feature Definition was set to an empty array.A mutable builder with a fluent API for an immutableFeatureDefinitionEmptyException.Represents data related toFeatures.A mutable builder for aFeaturePropertieswith a fluent API.A mutable builder for aFeaturewith a fluent API.Thrown when aThingFieldSelectorwas not valid.A mutable builder with a fluent API for an immutableFeatureDefinitionEmptyException.This exception indicates that aThing'sJsonSchemaVersionrequires a policyId.A mutable builder with a fluent API for aPolicyIdMissingException.A generic entity which can be used as a "handle" for multipleFeatures belonging to this Thing.An enumeration of the knownJsonFields of a Thing.Builder for instances ofThingwhich uses Object Scoping and Method Chaining to provide a convenient usage experience.A mutable builder with a fluent API for an immutableThing.A mutable builder with a fluent API for an immutableThingfrom scratch.Constants to support working withThing.A ThingDefinition represents a single fully qualifiedDefinitionIdentifier.Aggregates allDittoRuntimeExceptions which are related to aThing.A Json field selector which validates that only valid fields of a thing can be selected.Java representation of a validated Thing ID.Thrown if the Thing's ID is not valid (for example if it does not comply to the Thing ID REGEX).A mutable builder with a fluent API for aThingIdInvalidException.An enumeration of a Thing's lifecycle.Represents the current revision of a Thing.Factory that creates newthingsobjects.This exception indicates the content of a Thing is too large to be processed by a backend.A mutable builder with a fluent API for aThingTooLargeException.Implementations of this interface are associated to aThingidentified by the value returned fromgetEntityId().