Package org.openremote.model.asset.impl
Class GroupAsset
- All Implemented Interfaces:
AssetInfo
,IdentifiableEntity<GroupAsset>
- Direct Known Subclasses:
ElectricVehicleFleetGroupAsset
An asset for grouping other assets together; The
CHILD_ASSET_TYPE
Attribute
must be specified and
all children must be of the specified type or a subtype of the specified type.-
Nested Class Summary
Nested classes/interfaces inherited from class org.openremote.model.asset.Asset
Asset.AssetDeserializer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AttributeDescriptor
<String> static final AssetDescriptor
<GroupAsset> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
For use by hydrators (i.e.GroupAsset
(String name, Class<? extends Asset<?>> childAssetType) GroupAsset
(String name, String childAssetType) -
Method Summary
Methods inherited from class org.openremote.model.asset.Asset
addAttributes, addOrReplaceAttributes, equals, getAssetClass, getAssetName, getAssetType, getAttribute, getAttribute, getAttributeNames, getAttributes, getAttributesString, getCreatedOn, getEmail, getId, getLocation, getManufacturer, getMetaString, getModel, getName, getNotes, getParentId, getPath, getRealm, getTags, getType, getVersion, hasAttribute, hasAttribute, hashCode, isAccessPublicRead, pathContains, postLoadCallback, setAccessPublicRead, setAttributes, setAttributes, setAttributes, setCreatedOn, setEmail, setId, setLocation, setManufacturer, setModel, setName, setNotes, setParent, setParentId, setRealm, setTags, setVersion, toString, toStringAll
-
Field Details
-
CHILD_ASSET_TYPE
-
DESCRIPTOR
-
-
Constructor Details
-
GroupAsset
protected GroupAsset()For use by hydrators (i.e. JPA/Jackson) -
GroupAsset
-
GroupAsset
-
-
Method Details
-
getChildAssetType
-
setChildAssetType
-