com.partnersoft.gps.postprocessing
Class PostprocessingPoint

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

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

This class should be part of any point that can be postprocessed. It stored the SurveyedLocation, which is the original GPS point, and the CorrectedLocation, which is the corrected GPS point.

Author:
russell
See Also:
Serialized Form

Constructor Summary
PostprocessingPoint()
           
 
Method Summary
 java.lang.Object clone()
           
 CorrectedLocation getCorrectedLocation()
           
 java.lang.String getGPSID()
           This returns the GPS ID of either the surveyed location or the corrected location, whichever exists.
 SurveyedLocation getSurveyedLocation()
           
 void setCorrectedLocation(CorrectedLocation inCorrectedLocation)
           
 void setSurveyedLocation(SurveyedLocation inSurveyedLocation)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostprocessingPoint

public PostprocessingPoint()
Method Detail

getGPSID

public java.lang.String getGPSID()

This returns the GPS ID of either the surveyed location or the corrected location, whichever exists. The order shouldn't matter because they should both have the same id.

Returns null if this location doesn't have a GPS ID.

Returns:

getSurveyedLocation

public SurveyedLocation getSurveyedLocation()

setSurveyedLocation

public void setSurveyedLocation(SurveyedLocation inSurveyedLocation)

getCorrectedLocation

public CorrectedLocation getCorrectedLocation()

setCorrectedLocation

public void setCorrectedLocation(CorrectedLocation inCorrectedLocation)

clone

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