ucar.unidata.util
Class NamedPoint

java.lang.Object
  extended by ucar.unidata.util.NamedPoint

public class NamedPoint
extends Object

A class to hold and transfer named locations' information, for a landmark, city, observation point or station, data point, etc. S Wier


Constructor Summary
NamedPoint()
          _more_
NamedPoint(String id, String name, double latitude, double longitude, double elevation)
          Construct an object to hold and transfer settings for a landmark, city, observation point, etc.
 
Method Summary
 void addProperty(String key, String value)
          _more_
 boolean equals(Object o)
          _more_
 double getElevation()
          _more_
 String getID()
          _more_
 double getLatitude()
          _more_
 double getLongitude()
          _more_
 String getName()
          _more_
 Hashtable getProperties()
          _more_
 void setElevation(double v)
          _more_
 void setID(String v)
          _more_
 void setLatitude(double v)
          _more_
 void setLongitude(double v)
          _more_
 void setName(String v)
          _more_
 void setProperties(Hashtable v)
          _more_
 String toString()
          _more_
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamedPoint

public NamedPoint(String id,
                  String name,
                  double latitude,
                  double longitude,
                  double elevation)
Construct an object to hold and transfer settings for a landmark, city, observation point, etc.

Parameters:
latitude - in decimal geographic degrees
longitude - in decimal geographic degrees
elevation - in meters above the geoid ("sea level")
id - typically a 3- or 4- letter or number code
name - some kind of name like "buoy 32" or "Kansas City"

NamedPoint

public NamedPoint()
_more_

Method Detail

getLatitude

public double getLatitude()
_more_

Returns:
_more_

setLatitude

public void setLatitude(double v)
_more_

Parameters:
v -

getLongitude

public double getLongitude()
_more_

Returns:
_more_

setLongitude

public void setLongitude(double v)
_more_

Parameters:
v -

getElevation

public double getElevation()
_more_

Returns:
_more_

setElevation

public void setElevation(double v)
_more_

Parameters:
v -

getID

public String getID()
_more_

Returns:
_more_

setID

public void setID(String v)
_more_

Parameters:
v -

getName

public String getName()
_more_

Returns:
_more_

setName

public void setName(String v)
_more_

Parameters:
v -

getProperties

public Hashtable getProperties()
_more_

Returns:
_more_

setProperties

public void setProperties(Hashtable v)
_more_

Parameters:
v -

addProperty

public void addProperty(String key,
                        String value)
_more_

Parameters:
key -
value -

toString

public String toString()
_more_

Overrides:
toString in class Object
Returns:
_more_

equals

public boolean equals(Object o)
_more_

Overrides:
equals in class Object
Parameters:
o -
Returns:
_more_