Package org.openremote.model
package org.openremote.model
-
ClassDescriptionProvides model descriptors that are processed by
ValueUtil
; implementations can be discovered using the standardServiceLoader
mechanism or can be manually registered by adding an instance to theValueUtil.getModelProviders()
.TheContainer
is a registry of services, the order of services in a container is important and is determined by theContainerService.getPriority()
value; when starting theContainer
using the auto service discovery mechanism.Interface for providing a list of entity class names to be registered for JPA, this can be used for registering customAsset
types etc.If used on a persistentEntity
, an identifier value will only be set when an instance is persisted if there was no identifier already set.To be used onAsset
classes to include another class in descriptor scans (only used whenAssetModelProvider.useAutoScan()
is true), otherwise the descriptors must be explicitly specified in the appropriateAssetModelProvider
descriptor getter methods.Built in model provider that scans the model classes for asset classes and also includesMetaItemType
andValueType
classes.