Package org.netxms.client
Class GeoArea
java.lang.Object
org.netxms.client.GeoArea
Geographical area
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionGeoArea(int id, String name, String comments, List<GeoLocation> border) Create new geographical area object.GeoArea(NXCPMessage msg, long baseId) Create area object from NXCP message.Copy constructor
- 
Method Summary
- 
Field Details- 
idprotected int id
- 
name
- 
comments
- 
border
 
- 
- 
Constructor Details- 
GeoAreaCreate new geographical area object.- Parameters:
- id- area ID
- name- area name
- comments- comments
- border- border points
 
- 
GeoAreaCreate area object from NXCP message.- Parameters:
- msg- NXCP message
- baseId- base field ID
 
- 
GeoAreaCopy constructor- Parameters:
- src- source object
 
 
- 
- 
Method Details- 
getBoundingBoxGet bounding box for this area. First element of resulting array will contain north-west corner and second element - south-east corner.- Returns:
- bounding box for this area (north-west and south-east corners)
 
- 
getIdpublic int getId()- Returns:
- the id
 
- 
getName- Returns:
- the name
 
- 
getComments- Returns:
- the comments
 
- 
getBorder- Returns:
- the border
 
 
-