thredds.catalog
Class ThreddsMetadata.GeospatialCoverage

java.lang.Object
  extended by thredds.catalog.ThreddsMetadata.GeospatialCoverage
Enclosing class:
ThreddsMetadata

public static class ThreddsMetadata.GeospatialCoverage
extends java.lang.Object

Implements GeospatialCoverage type.


Constructor Summary
ThreddsMetadata.GeospatialCoverage()
           
ThreddsMetadata.GeospatialCoverage(ThreddsMetadata.Range eastwest, ThreddsMetadata.Range northsouth, ThreddsMetadata.Range updown, java.util.List names, java.lang.String zpositive)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 LatLonRect getBoundingBox()
           
 ThreddsMetadata.Range getEastWestRange()
           
 double getHeightExtent()
          Get height extent - may be positive or negetive
 double getHeightResolution()
          Get height resolution: 0.0 or NaN means not set.
 double getHeightStart()
          Get starting height
 java.lang.String getHeightUnits()
          Get height units
 double getLatExtent()
          Get latitude extent - may be positive or negetive
 double getLatNorth()
           
 double getLatResolution()
          Get latitude resolution: 0.0 or NaN means not set.
 double getLatSouth()
           
 double getLatStart()
          Get starting latitude, or Double.NaN if not valie
 java.lang.String getLatUnits()
          Get latitude units
 double getLonEast()
           
 double getLonExtent()
          Get longitude extent - may be positive or negetive
 double getLonResolution()
          Get longitude resolution: 0.0 or NaN means not set.
 double getLonStart()
          Get starting longitude
 java.lang.String getLonUnits()
          Get longitude units
 double getLonWest()
           
 java.util.List getNames()
           
 ThreddsMetadata.Range getNorthSouthRange()
           
 ThreddsMetadata.Range getUpDownRange()
           
 java.lang.String getZPositive()
          return "up" or "down"
 boolean getZPositiveUp()
          return true or false
 int hashCode()
          Override Object.hashCode() to implement equals.
 boolean isEmpty()
           
 boolean isGlobal()
          Get isGlobal
 boolean isValid()
           
 void setBoundingBox(LatLonRect bb)
           
 void setGlobal(boolean isGlobal)
          Set isGlobal
 void setHeightExtent(double size)
          Set height extent
 void setHeightResolution(double resolution)
          Set height resolution
 void setHeightStart(double start)
          Set starting height
 void setHeightUnits(java.lang.String units)
          Set height units
 void setLatExtent(double size)
          Set latitude extent
 void setLatResolution(double resolution)
          Set latitude resolution
 void setLatStart(double start)
          Set starting latitude
 void setLatUnits(java.lang.String units)
          Set latitude units
 void setLonExtent(double size)
          Set longitude extent
 void setLonResolution(double resolution)
          Set longitude resolution
 void setLonStart(double start)
          Set starting longitude
 void setLonUnits(java.lang.String units)
          Set longitude units
 void setVertical(CoordinateAxis1D vaxis)
           
 void setZPositive(java.lang.String positive)
           
 void setZPositiveUp(boolean positive)
           
 void toXML(java.io.OutputStream out)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreddsMetadata.GeospatialCoverage

public ThreddsMetadata.GeospatialCoverage()

ThreddsMetadata.GeospatialCoverage

public ThreddsMetadata.GeospatialCoverage(ThreddsMetadata.Range eastwest,
                                          ThreddsMetadata.Range northsouth,
                                          ThreddsMetadata.Range updown,
                                          java.util.List names,
                                          java.lang.String zpositive)
Method Detail

isEmpty

public boolean isEmpty()

getEastWestRange

public ThreddsMetadata.Range getEastWestRange()

getNorthSouthRange

public ThreddsMetadata.Range getNorthSouthRange()

getUpDownRange

public ThreddsMetadata.Range getUpDownRange()

getNames

public java.util.List getNames()

getZPositive

public java.lang.String getZPositive()
return "up" or "down"


setZPositive

public void setZPositive(java.lang.String positive)

getZPositiveUp

public boolean getZPositiveUp()
return true or false


setZPositiveUp

public void setZPositiveUp(boolean positive)

isValid

public boolean isValid()

isGlobal

public boolean isGlobal()
Get isGlobal


setGlobal

public void setGlobal(boolean isGlobal)
Set isGlobal


getLatStart

public double getLatStart()
Get starting latitude, or Double.NaN if not valie


setLatStart

public void setLatStart(double start)
Set starting latitude


getLatExtent

public double getLatExtent()
Get latitude extent - may be positive or negetive


setLatExtent

public void setLatExtent(double size)
Set latitude extent


getLatResolution

public double getLatResolution()
Get latitude resolution: 0.0 or NaN means not set.


setLatResolution

public void setLatResolution(double resolution)
Set latitude resolution


getLatUnits

public java.lang.String getLatUnits()
Get latitude units


setLatUnits

public void setLatUnits(java.lang.String units)
Set latitude units


getLatNorth

public double getLatNorth()

getLatSouth

public double getLatSouth()

getLonStart

public double getLonStart()
Get starting longitude


setLonStart

public void setLonStart(double start)
Set starting longitude


getLonExtent

public double getLonExtent()
Get longitude extent - may be positive or negetive


setLonExtent

public void setLonExtent(double size)
Set longitude extent


getLonResolution

public double getLonResolution()
Get longitude resolution: 0.0 or NaN means not set.


setLonResolution

public void setLonResolution(double resolution)
Set longitude resolution


getLonUnits

public java.lang.String getLonUnits()
Get longitude units


setLonUnits

public void setLonUnits(java.lang.String units)
Set longitude units


getLonEast

public double getLonEast()

getLonWest

public double getLonWest()

getHeightStart

public double getHeightStart()
Get starting height


setHeightStart

public void setHeightStart(double start)
Set starting height


getHeightExtent

public double getHeightExtent()
Get height extent - may be positive or negetive


setHeightExtent

public void setHeightExtent(double size)
Set height extent


getHeightResolution

public double getHeightResolution()
Get height resolution: 0.0 or NaN means not set.


setHeightResolution

public void setHeightResolution(double resolution)
Set height resolution


getHeightUnits

public java.lang.String getHeightUnits()
Get height units


setHeightUnits

public void setHeightUnits(java.lang.String units)
Set height units


getBoundingBox

public LatLonRect getBoundingBox()

setBoundingBox

public void setBoundingBox(LatLonRect bb)

setVertical

public void setVertical(CoordinateAxis1D vaxis)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Override Object.hashCode() to implement equals.

Overrides:
hashCode in class java.lang.Object

toXML

public void toXML(java.io.OutputStream out)
           throws java.io.IOException
Throws:
java.io.IOException