edu.whoi.ursa.argoDatabase.entity
Class Solo2.MissionParameters.SurfaceCommunicationParameters

java.lang.Object
  extended by edu.whoi.ursa.argoDatabase.entity.Solo2.MissionParameters.SurfaceCommunicationParameters
All Implemented Interfaces:
Solo2.MissionParameters._Parameters
Enclosing class:
Solo2.MissionParameters

@Embeddable
public static class Solo2.MissionParameters.SurfaceCommunicationParameters
extends java.lang.Object
implements Solo2.MissionParameters._Parameters


Field Summary
protected static java.lang.Character command
           
protected static java.lang.String[] descriptions
           
private  java.lang.Integer GPSsec
           
private  java.lang.Integer IRIsec
           
protected static java.lang.Integer[] maximums
           
protected static java.lang.Integer[] minimums
           
protected static java.lang.String name
           
protected static java.lang.String[] names
           
protected static java.lang.String[] parameters
           
private  java.lang.Integer Surfsc
           
protected static java.lang.String[] units
           
 
Constructor Summary
Solo2.MissionParameters.SurfaceCommunicationParameters()
           
Solo2.MissionParameters.SurfaceCommunicationParameters(java.lang.Integer gPSsec, java.lang.Integer iRIsec, java.lang.Integer surfsc)
           
 
Method Summary
static Form addFormSection(Form form)
           
 java.lang.String assembleCommand()
          Build command string based on current values;
 void checkValues()
          Check current values to make sure they are in valid range.
 java.lang.Character getCommand()
          Get the upload command character for this set of mission parameters.
 java.lang.String[] getDescriptions()
          Get an array of descriptions for each parameter.
 java.lang.Integer getGPSsec()
           
 java.lang.Integer getIRIsec()
           
 java.lang.Integer[] getMaximums()
          Get an array of the maximum valid values for each parameter.
 java.lang.Integer[] getMinmums()
          Get an array of the minimum valid values for each parameter.
 java.lang.String getName()
           
 java.lang.String[] getNames()
          Get an array of the name of each mission parameter.
 java.lang.String[] getParameters()
           
 java.lang.Integer getSurfsc()
           
 java.lang.String[] getUnits()
           
 java.lang.Integer[] getValues()
           
 Form printFormSection(Form form)
          print form section
 void setGPSsec(java.lang.Integer gPSsec)
           
 void setIRIsec(java.lang.Integer iRIsec)
           
 void setSurfsc(java.lang.Integer surfsc)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

command

protected static final java.lang.Character command

name

protected static final java.lang.String name

parameters

protected static final java.lang.String[] parameters

names

protected static final java.lang.String[] names

descriptions

protected static final java.lang.String[] descriptions

units

protected static final java.lang.String[] units

minimums

protected static final java.lang.Integer[] minimums

maximums

protected static final java.lang.Integer[] maximums

GPSsec

private java.lang.Integer GPSsec

IRIsec

private java.lang.Integer IRIsec

Surfsc

private java.lang.Integer Surfsc
Constructor Detail

Solo2.MissionParameters.SurfaceCommunicationParameters

public Solo2.MissionParameters.SurfaceCommunicationParameters()

Solo2.MissionParameters.SurfaceCommunicationParameters

public Solo2.MissionParameters.SurfaceCommunicationParameters(java.lang.Integer gPSsec,
                                                              java.lang.Integer iRIsec,
                                                              java.lang.Integer surfsc)
Parameters:
gPSsec -
iRIsec -
surfsc -
Method Detail

addFormSection

public static Form addFormSection(Form form)

assembleCommand

public java.lang.String assembleCommand()
Description copied from interface: Solo2.MissionParameters._Parameters
Build command string based on current values;

Specified by:
assembleCommand in interface Solo2.MissionParameters._Parameters
Returns:
assembled command

checkValues

public void checkValues()
                 throws ADBException
Description copied from interface: Solo2.MissionParameters._Parameters
Check current values to make sure they are in valid range. Throws ADBException if they are not.

Specified by:
checkValues in interface Solo2.MissionParameters._Parameters
Throws:
ADBException

getCommand

public java.lang.Character getCommand()
Description copied from interface: Solo2.MissionParameters._Parameters
Get the upload command character for this set of mission parameters.

Specified by:
getCommand in interface Solo2.MissionParameters._Parameters

getDescriptions

public java.lang.String[] getDescriptions()
Description copied from interface: Solo2.MissionParameters._Parameters
Get an array of descriptions for each parameter.

Specified by:
getDescriptions in interface Solo2.MissionParameters._Parameters
Returns:
descriptions

getGPSsec

public java.lang.Integer getGPSsec()
Returns:
the gPSsec

getIRIsec

public java.lang.Integer getIRIsec()
Returns:
the iRIsec

getMaximums

public java.lang.Integer[] getMaximums()
Description copied from interface: Solo2.MissionParameters._Parameters
Get an array of the maximum valid values for each parameter.

Specified by:
getMaximums in interface Solo2.MissionParameters._Parameters
Returns:
maximum valid value for each parameter.

getMinmums

public java.lang.Integer[] getMinmums()
Description copied from interface: Solo2.MissionParameters._Parameters
Get an array of the minimum valid values for each parameter.

Specified by:
getMinmums in interface Solo2.MissionParameters._Parameters
Returns:
minimum valid value for each parameter.

getName

public java.lang.String getName()
Specified by:
getName in interface Solo2.MissionParameters._Parameters
Returns:
the name of the set of mission parameters

getNames

public java.lang.String[] getNames()
Description copied from interface: Solo2.MissionParameters._Parameters
Get an array of the name of each mission parameter.

Specified by:
getNames in interface Solo2.MissionParameters._Parameters
Returns:
the name of each parameter.

getParameters

public java.lang.String[] getParameters()
Specified by:
getParameters in interface Solo2.MissionParameters._Parameters
Returns:
the name of each parameter as defined by the .param file

getSurfsc

public java.lang.Integer getSurfsc()
Returns:
the surfsc

getUnits

public java.lang.String[] getUnits()
Specified by:
getUnits in interface Solo2.MissionParameters._Parameters
Returns:
the units of each parameter

getValues

public java.lang.Integer[] getValues()
Specified by:
getValues in interface Solo2.MissionParameters._Parameters
Returns:
the current values of each parameter

printFormSection

public Form printFormSection(Form form)
Description copied from interface: Solo2.MissionParameters._Parameters
print form section

Specified by:
printFormSection in interface Solo2.MissionParameters._Parameters
Returns:

setGPSsec

public void setGPSsec(java.lang.Integer gPSsec)
Parameters:
gPSsec - the gPSsec to set

setIRIsec

public void setIRIsec(java.lang.Integer iRIsec)
Parameters:
iRIsec - the iRIsec to set

setSurfsc

public void setSurfsc(java.lang.Integer surfsc)
Parameters:
surfsc - the surfsc to set

toString

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