Package org.openremote.model.asset
package org.openremote.model.asset
-
ClassDescriptionThe main model class of this software.The purpose of this is to provide
Attribute.AttributeDeserializer
access to the asset type so theAttributeDescriptor
can be looked up to control value deserialization; this isn't used when hydrating from the DB as JPA uses its' own hydration mechanism so we also have a lazy loading of attribute value mechanism.AssetDescriptor<T extends Asset<?>>Describes anAsset
that can be added to this instance; theAssetDescriptor.getName()
must match theAsset.type
with which it is associated.Resource for handling model requests and also providing server side validation ofAsset
sAssetinvalid input: '<'?> access rules: The superuser (the admin in the master realm) may access all assets.This event is used in response to aReadAssetsEvent
.AllowsAsset
s to be represented in a hierarchical structureA client sends this event to the server to read the specified asset, optionally restricting which attributes expecting the server to answer "soon" with anAssetEvent
.A client sends this event to the server to query assets, expecting the server to answer "soon" with anAssetsEvent
with the results.A client sends this event to the server to refresh the value of the specified attribute, expecting the server to answer "soon" with anAttributeEvent
.An asset can be linked to many users, and a user can have links to many assets.