net.agmodel.metsoap
Class Region

java.lang.Object
  |
  +--net.agmodel.metsoap.Region

public class Region
extends Object

Represents a grouping of stations within a database into some geographical region.
Conforms to the JavaBean pattern to ensure easy SOAP serialization
Copyright (c)2002 National Agricultural Research Center


Constructor Summary
Region()
           
 
Method Summary
 String getID()
          Returns a unique ID which programs can use to identify the region.
 String getName()
          The name of the region, suitable for presentation to the user.
 GeographicalBox getSpatialCoverage()
          Indicate the bounds of latitude and longitude covered by stations in this region.
 void setID(String anID)
           
 void setName(String aName)
           
 void setSpatialCoverage(GeographicalBox coverage)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Region

public Region()
Method Detail

setID

public void setID(String anID)

getID

public String getID()
Returns a unique ID which programs can use to identify the region.
Returns:
the ID that distinguishes this region within its database

setName

public void setName(String aName)

getName

public String getName()
The name of the region, suitable for presentation to the user.
Returns:
the name of the region

getSpatialCoverage

public GeographicalBox getSpatialCoverage()
Indicate the bounds of latitude and longitude covered by stations in this region.
Returns:
a "rectangular" box indicating the corners of the boundaries.

setSpatialCoverage

public void setSpatialCoverage(GeographicalBox coverage)