edu.whoi.ursa.argoDatabase.entity
Interface Solo2.MissionParameters._Parameters

All Known Implementing Classes:
Solo2.MissionParameters.AbortParameters, Solo2.MissionParameters.AirVentParameters, Solo2.MissionParameters.AscentDescentTimingParameters, Solo2.MissionParameters.CTDParameters, Solo2.MissionParameters.DivesTargetDepthsDescentPumpTimeParameters, Solo2.MissionParameters.DriftParameters, Solo2.MissionParameters.HydraulicPumpParameters, Solo2.MissionParameters.SeekParameters, Solo2.MissionParameters.SleepParameters, Solo2.MissionParameters.SurfaceCommunicationParameters, Solo2.MissionParameters.SurfaceDriftParameters
Enclosing class:
Solo2.MissionParameters

private static interface Solo2.MissionParameters._Parameters

Parameters Interface. This interface defines the necessary functions for each group of mission parameters.

Author:
Alexander K. Ekholm

Method Summary
 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[] 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.String[] getUnits()
           
 java.lang.Integer[] getValues()
           
 Form printFormSection(Form form)
          print form section
 

Method Detail

assembleCommand

java.lang.String assembleCommand()
Build command string based on current values;

Returns:
assembled command

checkValues

void checkValues()
                 throws ADBException
Check current values to make sure they are in valid range. Throws ADBException if they are not.

Throws:
ADBException

getCommand

java.lang.Character getCommand()
Get the upload command character for this set of mission parameters.


getDescriptions

java.lang.String[] getDescriptions()
Get an array of descriptions for each parameter.

Returns:
descriptions

getMaximums

java.lang.Integer[] getMaximums()
Get an array of the maximum valid values for each parameter.

Returns:
maximum valid value for each parameter.

getMinmums

java.lang.Integer[] getMinmums()
Get an array of the minimum valid values for each parameter.

Returns:
minimum valid value for each parameter.

getName

java.lang.String getName()
Returns:
the name of the set of mission parameters

getNames

java.lang.String[] getNames()
Get an array of the name of each mission parameter.

Returns:
the name of each parameter.

getParameters

java.lang.String[] getParameters()
Returns:
the name of each parameter as defined by the .param file

getUnits

java.lang.String[] getUnits()
Returns:
the units of each parameter

getValues

java.lang.Integer[] getValues()
Returns:
the current values of each parameter

printFormSection

Form printFormSection(Form form)
print form section

Parameters:
form -
Returns: