com.partnersoft.gps.postprocessing
Class CorrectedLocation

java.lang.Object
  extended by com.partnersoft.gps.postprocessing.CorrectedLocation
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class CorrectedLocation
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

Stores the GPS ID, longitude and latitude of a corrected location.

Author:
russell
See Also:
Serialized Form

Constructor Summary
CorrectedLocation()
           
CorrectedLocation(java.lang.String inGPSID, double inLongitude, double inLatitude)
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getGPSID()
           
 double getLatitude()
           
 java.util.HashMap getLocationInfoData()
           
 double getLongitude()
           
 boolean isValid()
          Returns true if this is a valid CorrectedLocation.
 void setGPSID(java.lang.String inGPSID)
           
 void setLatitude(double inLatitude)
           
 void setLocationInfoData(java.util.HashMap data)
           
 void setLongitude(double inLongitude)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorrectedLocation

public CorrectedLocation()

CorrectedLocation

public CorrectedLocation(java.lang.String inGPSID,
                         double inLongitude,
                         double inLatitude)
Method Detail

getGPSID

public java.lang.String getGPSID()

setGPSID

public void setGPSID(java.lang.String inGPSID)

getLongitude

public double getLongitude()

setLongitude

public void setLongitude(double inLongitude)

getLatitude

public double getLatitude()

setLatitude

public void setLatitude(double inLatitude)

setLocationInfoData

public void setLocationInfoData(java.util.HashMap data)

getLocationInfoData

public java.util.HashMap getLocationInfoData()

isValid

public boolean isValid()
Returns true if this is a valid CorrectedLocation. One example of invalid is one at 0,0

Returns:

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object