com.partnersoft.io.gps
Class GPSSettings

java.lang.Object
  extended by com.partnersoft.io.gps.GPSSettings
All Implemented Interfaces:
Coggable

public class GPSSettings
extends java.lang.Object
implements Coggable

Various settings for GPS support.

Author:
Paul Reavis Copyright 2003-2005 Partner Software, Inc.

Constructor Summary
GPSSettings()
           
 
Method Summary
 int getBaudRate()
          Gets the value of baudRate
 int getDataBits()
          Gets the value of dataBits
 java.lang.String getParity()
          Gets the value of parity
 int getParityCode()
           
 java.lang.String getPortName()
          Gets the value of portName
 java.lang.String getProjectionName()
          Gets the value of projectionName
 int getRefreshRate()
          Gets the value of refreshRate
 Cog getState()
           
 java.lang.String getStopBits()
          Gets the value of stopBits
 boolean isEnabled()
          Gets the value of enabled
 void setBaudRate(int argBaudRate)
          Sets the value of baudRate
 void setDataBits(int argDataBits)
          Sets the value of dataBits
 void setEnabled(boolean argEnabled)
          Sets the value of enabled
 void setParity(java.lang.String argParity)
          Sets the value of parity
 void setPortName(java.lang.String argPortName)
          Sets the value of portName
 void setProjectionName(java.lang.String argProjectionName)
          Sets the value of projectionName
 void setRefreshRate(int argRefreshRate)
          Sets the value of refreshRate
 void setState(Cog state)
           
 void setStopBits(java.lang.String argStopBits)
          Sets the value of stopBits
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GPSSettings

public GPSSettings()
Method Detail

getState

public Cog getState()
Specified by:
getState in interface Coggable

setState

public void setState(Cog state)
Specified by:
setState in interface Coggable

toString

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

getParityCode

public int getParityCode()

isEnabled

public boolean isEnabled()
Gets the value of enabled

Returns:
the value of enabled

setEnabled

public void setEnabled(boolean argEnabled)
Sets the value of enabled

Parameters:
argEnabled - Value to assign to this.enabled

getRefreshRate

public int getRefreshRate()
Gets the value of refreshRate

Returns:
the value of refreshRate

setRefreshRate

public void setRefreshRate(int argRefreshRate)
Sets the value of refreshRate

Parameters:
argRefreshRate - Value to assign to this.refreshRate

getPortName

public java.lang.String getPortName()
Gets the value of portName

Returns:
the value of portName

setPortName

public void setPortName(java.lang.String argPortName)
Sets the value of portName

Parameters:
argPortName - Value to assign to this.portName

getBaudRate

public int getBaudRate()
Gets the value of baudRate

Returns:
the value of baudRate

setBaudRate

public void setBaudRate(int argBaudRate)
Sets the value of baudRate

Parameters:
argBaudRate - Value to assign to this.baudRate

getProjectionName

public java.lang.String getProjectionName()
Gets the value of projectionName

Returns:
the value of projectionName

setProjectionName

public void setProjectionName(java.lang.String argProjectionName)
Sets the value of projectionName

Parameters:
argProjectionName - Value to assign to this.projectionName

getDataBits

public int getDataBits()
Gets the value of dataBits

Returns:
the value of dataBits

setDataBits

public void setDataBits(int argDataBits)
Sets the value of dataBits

Parameters:
argDataBits - Value to assign to this.dataBits

getStopBits

public java.lang.String getStopBits()
Gets the value of stopBits

Returns:
the value of stopBits

setStopBits

public void setStopBits(java.lang.String argStopBits)
Sets the value of stopBits

Parameters:
argStopBits - Value to assign to this.stopBits

getParity

public java.lang.String getParity()
Gets the value of parity

Returns:
the value of parity

setParity

public void setParity(java.lang.String argParity)
Sets the value of parity

Parameters:
argParity - Value to assign to this.parity