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

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

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


Field Summary
private  java.lang.Integer AV1
           
private  java.lang.Integer AV2
           
private  java.lang.Integer BLOK
           
protected static java.lang.Character command
           
private  java.lang.Integer CTDofZ
           
protected static java.lang.String[] descriptions
           
protected static java.lang.Integer[] maximums
           
protected static java.lang.Integer[] minimums
           
protected static java.lang.String name
           
protected static java.lang.String[] names
           
private static java.util.Map<java.lang.Object,java.lang.String> options
           
protected static java.lang.String[] parameters
           
private  java.lang.Integer PB1
           
private  java.lang.Integer PB2
           
private  java.lang.Integer PROup
           
protected static java.lang.String[] units
           
 
Constructor Summary
Solo2.MissionParameters.CTDParameters()
           
Solo2.MissionParameters.CTDParameters(java.lang.Integer pROup, java.lang.Integer bLOK, java.lang.Integer pB1, java.lang.Integer pB2, java.lang.Integer aV1, java.lang.Integer aV2, java.lang.Integer cTDofZ)
           
 
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.Integer getAV1()
           
 java.lang.Integer getAV2()
           
 java.lang.Integer getBLOK()
           
 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.Integer getPB1()
           
 java.lang.Integer getPB2()
           
 java.lang.Integer getPROup()
           
 java.lang.String[] getUnits()
           
 java.lang.Integer[] getValues()
           
 Form printFormSection(Form form)
          print form section
 void setAV1(java.lang.Integer aV1)
           
 void setAV2(java.lang.Integer aV2)
           
 void setBLOK(java.lang.Integer bLOK)
           
 void setPB1(java.lang.Integer pB1)
           
 void setPB2(java.lang.Integer pB2)
           
 void setPROup(java.lang.Integer pROup)
           
 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

options

private static final java.util.Map<java.lang.Object,java.lang.String> options

PROup

private java.lang.Integer PROup

BLOK

private java.lang.Integer BLOK

PB1

private java.lang.Integer PB1

PB2

private java.lang.Integer PB2

AV1

private java.lang.Integer AV1

AV2

private java.lang.Integer AV2

CTDofZ

private java.lang.Integer CTDofZ
Constructor Detail

Solo2.MissionParameters.CTDParameters

public Solo2.MissionParameters.CTDParameters()

Solo2.MissionParameters.CTDParameters

public Solo2.MissionParameters.CTDParameters(java.lang.Integer pROup,
                                             java.lang.Integer bLOK,
                                             java.lang.Integer pB1,
                                             java.lang.Integer pB2,
                                             java.lang.Integer aV1,
                                             java.lang.Integer aV2,
                                             java.lang.Integer cTDofZ)
Parameters:
pROup -
bLOK -
pB1 -
pB2 -
aV1 -
aV2 -
cTDofZ -
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

getAV1

public java.lang.Integer getAV1()
Returns:
the aV1

getAV2

public java.lang.Integer getAV2()
Returns:
the aV2

getBLOK

public java.lang.Integer getBLOK()
Returns:
the bLOK

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

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

getPB1

public java.lang.Integer getPB1()
Returns:
the pB1

getPB2

public java.lang.Integer getPB2()
Returns:
the pB2

getPROup

public java.lang.Integer getPROup()
Returns:
the pROup

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:

setAV1

public void setAV1(java.lang.Integer aV1)
Parameters:
aV1 - the aV1 to set

setAV2

public void setAV2(java.lang.Integer aV2)
Parameters:
aV2 - the aV2 to set

setBLOK

public void setBLOK(java.lang.Integer bLOK)
Parameters:
bLOK - the bLOK to set

setPB1

public void setPB1(java.lang.Integer pB1)
Parameters:
pB1 - the pB1 to set

setPB2

public void setPB2(java.lang.Integer pB2)
Parameters:
pB2 - the pB2 to set

setPROup

public void setPROup(java.lang.Integer pROup)
Parameters:
pROup - the pROup to set

toString

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