Class Site
-
- All Implemented Interfaces:
public class Site
Represents the information for Site
-
-
Field Summary
Fields Modifier and Type Field Description private final Integer
internalIdentifier
private final String
externalIdentifier
private final String
title
private final List<Building>
buildings
private final BoundingBox
boundingBox
private final GeoPolygon
geometry
-
Method Summary
Modifier and Type Method Description Integer
getInternalIdentifier()
Internal identifier of the site on Pointr system String
getExternalIdentifier()
External identifier of the Site String
getTitle()
Title of the Site List<Building>
getBuildings()
List of Building that belongs to the site BoundingBox
getBoundingBox()
GeoPolygon
getGeometry()
final Boolean
hasSameInternalIdentifier(Site other)
Checks the equality of (getInternalIdentifier) for given other instance Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static Site
invalidSite()
-
-
Method Detail
-
getInternalIdentifier
Integer getInternalIdentifier()
Internal identifier of the site on Pointr system
-
getExternalIdentifier
String getExternalIdentifier()
External identifier of the Site
-
getBuildings
List<Building> getBuildings()
List of Building that belongs to the site
-
getBoundingBox
BoundingBox getBoundingBox()
-
getGeometry
GeoPolygon getGeometry()
-
hasSameInternalIdentifier
final Boolean hasSameInternalIdentifier(Site other)
Checks the equality of (getInternalIdentifier) for given other instance
- Parameters:
other
- Site instance to check the id.- Returns:
true if id's are same, false otherwise
-
invalidSite
final static Site invalidSite()
-
-
-
-