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
Region
public Region()
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)