-
- All Implemented Interfaces:
public class Building
Represents the information for Building
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
Building.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Integer
internalIdentifier
private final String
externalIdentifier
private final String
title
private final Site
site
private final List<Level>
levels
private final BoundingBox
boundingBox
private final GeoPolygon
geometry
private final Level
defaultLevel
private final String
displayableTitle
-
Method Summary
Modifier and Type Method Description Integer
getInternalIdentifier()
Internal identifier of building on Pointr system String
getExternalIdentifier()
External identifier of building String
getTitle()
Title of building Site
getSite()
The Site that this building belongs to List<Level>
getLevels()
Available list of Levels in the building BoundingBox
getBoundingBox()
North-East aligned bounding box of the building GeoPolygon
getGeometry()
GeometryPolygon object which comprise information about the building's corners and the circle that enclose it Level
getDefaultLevel()
final String
getDisplayableTitle()
The displayable text. final Boolean
hasSameInternalIdentifier(Building other)
Checks the equality of (internalIdentifier) for given other instance Boolean
equals(Object other)
Integer
hashCode()
String
toString()
-
-
Method Detail
-
getInternalIdentifier
Integer getInternalIdentifier()
Internal identifier of building on Pointr system
-
getExternalIdentifier
String getExternalIdentifier()
External identifier of building
-
getBoundingBox
BoundingBox getBoundingBox()
North-East aligned bounding box of the building
-
getGeometry
GeoPolygon getGeometry()
GeometryPolygon object which comprise information about the building's corners and the circle that enclose it
-
getDefaultLevel
Level getDefaultLevel()
-
getDisplayableTitle
final String getDisplayableTitle()
-
hasSameInternalIdentifier
final Boolean hasSameInternalIdentifier(Building other)
Checks the equality of (internalIdentifier) for given other instance
- Parameters:
other
- Building instance to check the id.
-
-
-
-