Package org.openremote.model
Class StandardModelProvider
java.lang.Object
org.openremote.model.StandardModelProvider
- All Implemented Interfaces:
AssetModelProvider
Built in model provider that scans the model classes for asset classes and also includes
MetaItemType
and
ValueType
classes.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when the full Asset model has been initialised which givesAssetModelProvider
s the chance to do additional work (e.g.boolean
Indicates if the containing JAR of thisAssetModelProvider
should be auto scanned forAsset
implementations; descriptors are then extracted using reflection from these classes.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openremote.model.AssetModelProvider
getAssetDescriptors, getAttributeDescriptors, getMetaItemDescriptors, getValueDescriptors, isDynamic
-
Field Details
-
LOG
-
-
Constructor Details
-
StandardModelProvider
public StandardModelProvider()
-
-
Method Details
-
useAutoScan
public boolean useAutoScan()Description copied from interface:AssetModelProvider
Indicates if the containing JAR of thisAssetModelProvider
should be auto scanned forAsset
implementations; descriptors are then extracted using reflection from these classes.- Specified by:
useAutoScan
in interfaceAssetModelProvider
-
onAssetModelFinished
public void onAssetModelFinished()Description copied from interface:AssetModelProvider
Called when the full Asset model has been initialised which givesAssetModelProvider
s the chance to do additional work (e.g. add constraints such as allowed values based on available asset types).- Specified by:
onAssetModelFinished
in interfaceAssetModelProvider
-