Package org.openremote.model.asset.impl
Class BuildingAsset
java.lang.Object
org.openremote.model.asset.Asset<CityAsset>
org.openremote.model.asset.impl.CityAsset
org.openremote.model.asset.impl.BuildingAsset
- All Implemented Interfaces:
AssetInfo
,IdentifiableEntity<CityAsset>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openremote.model.asset.Asset
Asset.AssetDeserializer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AttributeDescriptor
<Integer> static final AttributeDescriptor
<String> static final AttributeDescriptor
<String> static final AssetDescriptor
<BuildingAsset> static final AttributeDescriptor
<String> static final AttributeDescriptor
<String> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributes
(Attribute<?>... attributes) addOrReplaceAttributes
(Attribute<?>... attributes) getArea()
setAccessPublicRead
(boolean accessPublicRead) setAttributes
(Collection<Attribute<?>> attributes) Asset
<?> setAttributes
(Attribute<?>... attributes) setAttributes
(AttributeMap attributes) setLocation
(GeoJSONPoint location) setManufacturer
(String manufacturer) setParentId
(String parentId) Methods inherited from class org.openremote.model.asset.impl.CityAsset
getCountry, getRegion
Methods inherited from class org.openremote.model.asset.Asset
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, setCreatedOn, setVersion, toString, toStringAll
-
Field Details
-
STREET
-
POSTAL_CODE
-
AREA
-
COUNTRY
-
CITY
-
DESCRIPTOR
-
-
Constructor Details
-
BuildingAsset
protected BuildingAsset()For use by hydrators (i.e. JPA/Jackson) -
BuildingAsset
-
-
Method Details
-
getStreet
-
getArea
-
getPostalCode
-
setId
-
setName
- Overrides:
setName
in classAsset<CityAsset>
- Throws:
IllegalArgumentException
-
setAccessPublicRead
- Overrides:
setAccessPublicRead
in classAsset<CityAsset>
-
setParent
-
setParentId
- Overrides:
setParentId
in classAsset<CityAsset>
-
setRealm
-
setAttributes
- Overrides:
setAttributes
in classAsset<CityAsset>
-
setAttributes
- Overrides:
setAttributes
in classAsset<CityAsset>
-
setAttributes
- Overrides:
setAttributes
in classAsset<CityAsset>
-
setLocation
- Overrides:
setLocation
in classAsset<CityAsset>
-
setTags
-
setEmail
-
setNotes
-
setModel
-
addAttributes
- Overrides:
addAttributes
in classAsset<CityAsset>
-
addOrReplaceAttributes
- Overrides:
addOrReplaceAttributes
in classAsset<CityAsset>
-
setManufacturer
- Overrides:
setManufacturer
in classAsset<CityAsset>
-