com.partnersoft.gps.postprocessing
Class GpsCorrection

java.lang.Object
  extended by com.partnersoft.gps.postprocessing.GpsCorrection
All Implemented Interfaces:
Coggable, Immutable

public class GpsCorrection
extends java.lang.Object
implements Coggable, Immutable

A GPS surveyed lonlat position with a unique GUID that has been corrected via postprocessing.

Copyright 2009 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Constructor Summary
GpsCorrection(Cog state)
           
GpsCorrection(java.lang.String guid, java.lang.String fileName, double longitude, double latitude)
           
 
Method Summary
 java.lang.String getFileName()
           
 java.lang.String getGuid()
           
 double getLatitude()
           
 double getLongitude()
           
 Cog toCog()
          Returns the complete internal state of this object in the form of a Cog.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GpsCorrection

public GpsCorrection(java.lang.String guid,
                     java.lang.String fileName,
                     double longitude,
                     double latitude)

GpsCorrection

public GpsCorrection(Cog state)
Method Detail

toCog

public Cog toCog()
Description copied from interface: Coggable
Returns the complete internal state of this object in the form of a Cog.

Specified by:
toCog in interface Coggable
Returns:
Cog representing the internal state of this object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getGuid

public java.lang.String getGuid()

getFileName

public java.lang.String getFileName()

getLongitude

public double getLongitude()

getLatitude

public double getLatitude()