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

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

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


Field Summary
protected static java.lang.Character command
           
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  java.lang.Integer Nsam0
           
private  java.lang.Integer Nsam1
           
private  java.lang.Integer Nsam2
           
protected static java.lang.String[] parameters
           
private  java.lang.Integer SAMmn0
           
private  java.lang.Integer SAMmn1
           
private  java.lang.Integer SAMmn2
           
protected static java.lang.String[] units
           
 
Constructor Summary
Solo2.MissionParameters.DriftParameters()
           
Solo2.MissionParameters.DriftParameters(java.lang.Integer sAMmn0, java.lang.Integer nsam0, java.lang.Integer sAMmn1, java.lang.Integer nsam1, java.lang.Integer sAMmn2, java.lang.Integer nsam2)
           
 
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[] 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.Integer getNsam0()
           
 java.lang.Integer getNsam1()
           
 java.lang.Integer getNsam2()
           
 java.lang.String[] getParameters()
           
 java.lang.Integer getSAMmn0()
           
 java.lang.Integer getSAMmn1()
           
 java.lang.Integer getSAMmn2()
           
 java.lang.String[] getUnits()
           
 java.lang.Integer[] getValues()
           
 Form printFormSection(Form form)
          print form section
 void setNsam0(java.lang.Integer nsam0)
           
 void setNsam1(java.lang.Integer nsam1)
           
 void setNsam2(java.lang.Integer nsam2)
           
 void setSAMmn0(java.lang.Integer sAMmn0)
           
 void setSAMmn1(java.lang.Integer sAMmn1)
           
 void setSAMmn2(java.lang.Integer sAMmn2)
           
 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

SAMmn0

private java.lang.Integer SAMmn0

Nsam0

private java.lang.Integer Nsam0

SAMmn1

private java.lang.Integer SAMmn1

Nsam1

private java.lang.Integer Nsam1

SAMmn2

private java.lang.Integer SAMmn2

Nsam2

private java.lang.Integer Nsam2
Constructor Detail

Solo2.MissionParameters.DriftParameters

public Solo2.MissionParameters.DriftParameters()

Solo2.MissionParameters.DriftParameters

public Solo2.MissionParameters.DriftParameters(java.lang.Integer sAMmn0,
                                               java.lang.Integer nsam0,
                                               java.lang.Integer sAMmn1,
                                               java.lang.Integer nsam1,
                                               java.lang.Integer sAMmn2,
                                               java.lang.Integer nsam2)
Parameters:
sAMmn0 -
nsam0 -
sAMmn1 -
nsam1 -
sAMmn2 -
nsam2 -
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

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.

getNsam0

public java.lang.Integer getNsam0()
Returns:
the nsam0

getNsam1

public java.lang.Integer getNsam1()
Returns:
the nsam1

getNsam2

public java.lang.Integer getNsam2()
Returns:
the nsam2

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

getSAMmn0

public java.lang.Integer getSAMmn0()
Returns:
the sAMmn0

getSAMmn1

public java.lang.Integer getSAMmn1()
Returns:
the sAMmn1

getSAMmn2

public java.lang.Integer getSAMmn2()
Returns:
the sAMmn2

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:

setNsam0

public void setNsam0(java.lang.Integer nsam0)
Parameters:
nsam0 - the nsam0 to set

setNsam1

public void setNsam1(java.lang.Integer nsam1)
Parameters:
nsam1 - the nsam1 to set

setNsam2

public void setNsam2(java.lang.Integer nsam2)
Parameters:
nsam2 - the nsam2 to set

setSAMmn0

public void setSAMmn0(java.lang.Integer sAMmn0)
Parameters:
sAMmn0 - the sAMmn0 to set

setSAMmn1

public void setSAMmn1(java.lang.Integer sAMmn1)
Parameters:
sAMmn1 - the sAMmn1 to set

setSAMmn2

public void setSAMmn2(java.lang.Integer sAMmn2)
Parameters:
sAMmn2 - the sAMmn2 to set

toString

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