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

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

@Embeddable
public static class Solo2.MissionParameters.AscentDescentTimingParameters
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 Fall0
           
private  java.lang.Integer Fall1
           
private  java.lang.Integer Fall2
           
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 Pwait0
           
private  java.lang.Integer Pwait1
           
private  java.lang.Integer Pwait2
           
private  java.lang.Integer Rise0
           
private  java.lang.Integer Rise1
           
private  java.lang.Integer Rise2
           
protected static java.lang.String[] units
           
 
Constructor Summary
Solo2.MissionParameters.AscentDescentTimingParameters()
           
Solo2.MissionParameters.AscentDescentTimingParameters(java.lang.Integer fall0, java.lang.Integer rise0, java.lang.Integer pwait0, java.lang.Integer fall1, java.lang.Integer rise1, java.lang.Integer pwait1, java.lang.Integer fall2, java.lang.Integer rise2, java.lang.Integer pwait2)
           
 
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 getFall0()
           
 java.lang.Integer getFall1()
           
 java.lang.Integer getFall2()
           
 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 getPwait0()
           
 java.lang.Integer getPwait1()
           
 java.lang.Integer getPwait2()
           
 java.lang.Integer getRise0()
           
 java.lang.Integer getRise1()
           
 java.lang.Integer getRise2()
           
 java.lang.String[] getUnits()
           
 java.lang.Integer[] getValues()
           
 Form printFormSection(Form form)
          print form section
 void setFall0(java.lang.Integer fall0)
           
 void setFall1(java.lang.Integer fall1)
           
 void setFall2(java.lang.Integer fall2)
           
 void setPwait0(java.lang.Integer pwait0)
           
 void setPwait1(java.lang.Integer pwait1)
           
 void setPwait2(java.lang.Integer pwait2)
           
 void setRise0(java.lang.Integer rise0)
           
 void setRise1(java.lang.Integer rise1)
           
 void setRise2(java.lang.Integer rise2)
           
 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

Fall0

private java.lang.Integer Fall0

Rise0

private java.lang.Integer Rise0

Pwait0

private java.lang.Integer Pwait0

Fall1

private java.lang.Integer Fall1

Rise1

private java.lang.Integer Rise1

Pwait1

private java.lang.Integer Pwait1

Fall2

private java.lang.Integer Fall2

Rise2

private java.lang.Integer Rise2

Pwait2

private java.lang.Integer Pwait2
Constructor Detail

Solo2.MissionParameters.AscentDescentTimingParameters

public Solo2.MissionParameters.AscentDescentTimingParameters()

Solo2.MissionParameters.AscentDescentTimingParameters

public Solo2.MissionParameters.AscentDescentTimingParameters(java.lang.Integer fall0,
                                                             java.lang.Integer rise0,
                                                             java.lang.Integer pwait0,
                                                             java.lang.Integer fall1,
                                                             java.lang.Integer rise1,
                                                             java.lang.Integer pwait1,
                                                             java.lang.Integer fall2,
                                                             java.lang.Integer rise2,
                                                             java.lang.Integer pwait2)
Parameters:
fall0 -
rise0 -
pwait0 -
fall1 -
rise1 -
pwait1 -
fall2 -
rise2 -
pwait2 -
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

getFall0

public java.lang.Integer getFall0()
Returns:
the fall0

getFall1

public java.lang.Integer getFall1()
Returns:
the fall1

getFall2

public java.lang.Integer getFall2()
Returns:
the fall2

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

getPwait0

public java.lang.Integer getPwait0()
Returns:
the pwait0

getPwait1

public java.lang.Integer getPwait1()
Returns:
the pwait1

getPwait2

public java.lang.Integer getPwait2()
Returns:
the pwait2

getRise0

public java.lang.Integer getRise0()
Returns:
the rise0

getRise1

public java.lang.Integer getRise1()
Returns:
the rise1

getRise2

public java.lang.Integer getRise2()
Returns:
the rise2

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:

setFall0

public void setFall0(java.lang.Integer fall0)
Parameters:
fall0 - the fall0 to set

setFall1

public void setFall1(java.lang.Integer fall1)
Parameters:
fall1 - the fall1 to set

setFall2

public void setFall2(java.lang.Integer fall2)
Parameters:
fall2 - the fall2 to set

setPwait0

public void setPwait0(java.lang.Integer pwait0)
Parameters:
pwait0 - the pwait0 to set

setPwait1

public void setPwait1(java.lang.Integer pwait1)
Parameters:
pwait1 - the pwait1 to set

setPwait2

public void setPwait2(java.lang.Integer pwait2)
Parameters:
pwait2 - the pwait2 to set

setRise0

public void setRise0(java.lang.Integer rise0)
Parameters:
rise0 - the rise0 to set

setRise1

public void setRise1(java.lang.Integer rise1)
Parameters:
rise1 - the rise1 to set

setRise2

public void setRise2(java.lang.Integer rise2)
Parameters:
rise2 - the rise2 to set

toString

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