edu.whoi.ursa.argoDatabase.entity
Class Solo2.Listing

java.lang.Object
  extended by edu.whoi.ursa.argoDatabase.servletUtil.page.BasePage.OverviewItem.OverviewPrintFunctions
      extended by edu.whoi.ursa.argoDatabase.entity.Solo2.Listing
Enclosing class:
Solo2

@Entity(name="Solo2_Listing")
public static class Solo2.Listing
extends BasePage.OverviewItem.OverviewPrintFunctions

Solo-II listing class. Each object corresponds to a single listing [file].

Author:
Alexander K. Ekholm

Nested Class Summary
static class Solo2.Listing.ArgoMissionParameters
          Argo mission parameters.
static class Solo2.Listing.Comments
          Listing comments.
static class Solo2.Listing.EngineeringData
          Solo-II engineering data.
static class Solo2.Listing.FallData
          Fall data.
static class Solo2.Listing.GPSData
          GPS Data.
static class Solo2.Listing.ID
          Solo-II Listing unique identifier a.k.a.
static class Solo2.Listing.Packet
          Solo-II listing packet.
static class Solo2.Listing.PressureTimeSeriesData
          Solo-II pressure time series data.
static class Solo2.Listing.ProfileData
          Profile Data.
static class Solo2.Listing.RiseData
          Rise Data.
static class Solo2.Listing.ShoreCommands
          Shore Commands.
static class Solo2.Listing.SummaryTable
          Solo-II Listing summary table
 
Field Summary
private  java.lang.Integer aoml
           
private  Solo2.Listing.ArgoMissionParameters argoMissionParameters
           
static java.lang.String[][] colorCodes
          Color codes for Solo-II intermediate listing sections.
private  Solo2.Listing.Comments comments
           
private  Solo2.Listing.EngineeringData engineeringData
           
private  Solo2.Listing.FallData fallData
           
private  java.lang.Float formatVersion
           
private  Solo2.Listing.GPSData gpsData1
           
private  Solo2.Listing.GPSData gpsData2
           
private  Solo2.Listing.ID id
           
private  java.lang.Long imei
           
private  ADBFile listingFile
           
private static java.lang.String listingPath
          Solo-II Intermediate Listing Directory
private static java.lang.String listingType
          Solo-II listing file type.
private  java.util.List<Solo2.Listing.Packet> packets
           
private  Solo2.Listing.PressureTimeSeriesData pressureTimeSeriesData
           
private  Solo2.Listing.ProfileData profileData
           
private  Solo2.ReportedMissionParameters reportedMissionParameters
           
private  Solo2.Listing.RiseData riseData
           
private  Solo2.Listing.ShoreCommands shoreCommands
           
private  java.lang.Integer transmissionId
           
private  java.lang.Integer wmo
           
 
Constructor Summary
Solo2.Listing()
           
 
Method Summary
static Form addLegendSection(Form form)
          Add legend section to Solo-II Listing form
private  java.lang.Float formatVersionFromLine(java.lang.String line)
          Get file format version from MOD line
static Solo2.Listing get(java.lang.Integer whoi, java.lang.Integer dive)
          Get listing
 java.lang.Integer getAoml()
           
 Solo2.Listing.ArgoMissionParameters getArgoMissionParameters()
           
 Solo2.Listing.Comments getComments()
           
 Solo2.Listing.EngineeringData getEngineeringData()
           
 Solo2.Listing.FallData getFallData()
           
 java.lang.Float getFormatVersion()
           
 Solo2.Listing.GPSData getGpsData1()
           
 Solo2.Listing.GPSData getGpsData2()
           
 Solo2.Listing.ID getId()
           
 java.lang.Long getImei()
           
 ADBFile getListingFile()
           
static java.util.List<Solo2.Listing> getListings(java.lang.Integer whoi)
          Get listings for WHOI ID
 java.util.List<Solo2.Listing.Packet> getPackets()
           
 Solo2.Listing.PressureTimeSeriesData getPressureTimeSeriesData()
           
 Solo2.Listing.ProfileData getProfileData()
           
 Solo2.ReportedMissionParameters getReportedMissionParameters()
           
 Solo2.Listing.RiseData getRiseData()
           
 Solo2.Listing.ShoreCommands getShoreCommands()
           
 java.lang.Integer getTransmissionId()
           
 java.lang.Integer getWmo()
           
 Form printFormSection(Form form)
          add form section
 Form printGPSDataFormSections(Form form)
          Print GPSData form sections
 void printGPSDataOverviewSections(org.w3c.dom.Element element)
          Print GPSData overview sections
static org.w3c.dom.Element printListings(org.w3c.dom.Element element, java.lang.Integer whoi)
          Print Listings for WHOI ID
 org.w3c.dom.Element printOverviewSection(org.w3c.dom.Element element)
           
 org.w3c.dom.Element printSections(org.w3c.dom.Element element)
          Print listing sections
 Solo2.Listing save()
          Save Solo-II Listing
 void setAoml(java.lang.Integer aoml)
           
 void setArgoMissionParameters(Solo2.Listing.ArgoMissionParameters argoMissionParameters)
           
 void setComments(Solo2.Listing.Comments comments)
           
 void setEngineeringData(Solo2.Listing.EngineeringData engineeringData)
           
 void setFallData(Solo2.Listing.FallData fallData)
           
 void setFormatVersion(java.lang.Float formatVersion)
           
 void setGpsData1(Solo2.Listing.GPSData gpsData1)
           
 void setGpsData2(Solo2.Listing.GPSData gpsData2)
           
 void setId(Solo2.Listing.ID id)
           
 void setImei(java.lang.Long imei)
           
 void setListingFile(ADBFile listingFile)
           
 void setPackets(java.util.List<Solo2.Listing.Packet> packets)
           
 void setPressureTimeSeriesData(Solo2.Listing.PressureTimeSeriesData pressureTimeSeriesData)
           
 void setProfileData(Solo2.Listing.ProfileData profileData)
           
 void setReportedMissionParameters(Solo2.ReportedMissionParameters reportedMissionParameters)
           
 void setRiseData(Solo2.Listing.RiseData riseData)
           
 void setShoreCommands(Solo2.Listing.ShoreCommands shoreCommands)
           
 void setTransmissionId(java.lang.Integer transmissionId)
           
 void setWmo(java.lang.Integer wmo)
           
 java.lang.String toString()
           
static void updateAllListings(java.lang.Boolean debug)
          Update all Solo-II Listings
private static void updateListing(ADBFile file)
          Update listings from ADBFile object
private static void updateListing(ADBFile file, java.lang.Boolean forceupdate)
          Update listings from ADBFile object
 
Methods inherited from class edu.whoi.ursa.argoDatabase.servletUtil.page.BasePage.OverviewItem.OverviewPrintFunctions
printDisabledTextArea, printFields, printFields, printWrappedDisabledTextArea
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

listingPath

private static final java.lang.String listingPath
Solo-II Intermediate Listing Directory


listingType

private static final java.lang.String listingType
Solo-II listing file type.

See Also:
Constant Field Values

colorCodes

public static final java.lang.String[][] colorCodes
Color codes for Solo-II intermediate listing sections.


id

private Solo2.Listing.ID id

listingFile

private ADBFile listingFile

packets

private java.util.List<Solo2.Listing.Packet> packets

gpsData1

private Solo2.Listing.GPSData gpsData1

gpsData2

private Solo2.Listing.GPSData gpsData2

engineeringData

private Solo2.Listing.EngineeringData engineeringData

riseData

private Solo2.Listing.RiseData riseData

fallData

private Solo2.Listing.FallData fallData

comments

private Solo2.Listing.Comments comments

shoreCommands

private Solo2.Listing.ShoreCommands shoreCommands

pressureTimeSeriesData

private Solo2.Listing.PressureTimeSeriesData pressureTimeSeriesData

argoMissionParameters

private Solo2.Listing.ArgoMissionParameters argoMissionParameters

reportedMissionParameters

private Solo2.ReportedMissionParameters reportedMissionParameters

profileData

private Solo2.Listing.ProfileData profileData

aoml

private java.lang.Integer aoml

wmo

private java.lang.Integer wmo

formatVersion

private java.lang.Float formatVersion

imei

private java.lang.Long imei

transmissionId

private java.lang.Integer transmissionId
Constructor Detail

Solo2.Listing

public Solo2.Listing()
Method Detail

addLegendSection

public static Form addLegendSection(Form form)
Add legend section to Solo-II Listing form

Parameters:
form -
Returns:

get

public static Solo2.Listing get(java.lang.Integer whoi,
                                java.lang.Integer dive)
Get listing

Parameters:
whoi -
dive -
Returns:

getListings

public static java.util.List<Solo2.Listing> getListings(java.lang.Integer whoi)
Get listings for WHOI ID

Parameters:
whoi -
Returns:

printListings

public static org.w3c.dom.Element printListings(org.w3c.dom.Element element,
                                                java.lang.Integer whoi)
Print Listings for WHOI ID

Returns:
html div element of summary table

updateAllListings

public static void updateAllListings(java.lang.Boolean debug)
Update all Solo-II Listings

Parameters:
debug -

updateListing

private static void updateListing(ADBFile file)
Update listings from ADBFile object

Parameters:
file -

updateListing

private static void updateListing(ADBFile file,
                                  java.lang.Boolean forceupdate)
Update listings from ADBFile object

Parameters:
file -
forceupdate -

formatVersionFromLine

private java.lang.Float formatVersionFromLine(java.lang.String line)
Get file format version from MOD line

Parameters:
line -
Returns:

getAoml

public java.lang.Integer getAoml()
Returns:
the aoml

getArgoMissionParameters

public Solo2.Listing.ArgoMissionParameters getArgoMissionParameters()
Returns:
the argoMissionParameters

getComments

public Solo2.Listing.Comments getComments()
Returns:
the comments

getEngineeringData

public Solo2.Listing.EngineeringData getEngineeringData()
Returns:
the engineeringData

getFallData

public Solo2.Listing.FallData getFallData()
Returns:
the fallData

getFormatVersion

public java.lang.Float getFormatVersion()
Returns:
the formatVersion

getGpsData1

public Solo2.Listing.GPSData getGpsData1()
Returns:
the gpsData1

getGpsData2

public Solo2.Listing.GPSData getGpsData2()
Returns:
the gpsData2

getId

public Solo2.Listing.ID getId()
Returns:
the id

getImei

public java.lang.Long getImei()
Returns:
the imei

getListingFile

public ADBFile getListingFile()
Returns:
the listingFile

getPackets

public java.util.List<Solo2.Listing.Packet> getPackets()
Returns:
the packets

getPressureTimeSeriesData

public Solo2.Listing.PressureTimeSeriesData getPressureTimeSeriesData()
Returns:
the pressureTimeSeriesData

getProfileData

public Solo2.Listing.ProfileData getProfileData()
Returns:
the profileData

getReportedMissionParameters

public Solo2.ReportedMissionParameters getReportedMissionParameters()
Returns:
the reportedMissionParameters

getRiseData

public Solo2.Listing.RiseData getRiseData()
Returns:
the riseData

getShoreCommands

public Solo2.Listing.ShoreCommands getShoreCommands()
Returns:
the shoreCommands

getTransmissionId

public java.lang.Integer getTransmissionId()
Returns:
the transmissionId

getWmo

public java.lang.Integer getWmo()
Returns:
the wmo

printFormSection

public Form printFormSection(Form form)
add form section

Parameters:
form -
Returns:

printGPSDataFormSections

public Form printGPSDataFormSections(Form form)
Print GPSData form sections

Parameters:
form -
Returns:

printGPSDataOverviewSections

public void printGPSDataOverviewSections(org.w3c.dom.Element element)
Print GPSData overview sections

Parameters:
form -

printOverviewSection

public org.w3c.dom.Element printOverviewSection(org.w3c.dom.Element element)
Specified by:
printOverviewSection in class BasePage.OverviewItem.OverviewPrintFunctions

printSections

public org.w3c.dom.Element printSections(org.w3c.dom.Element element)
Print listing sections

Parameters:
element -
Returns:

save

public Solo2.Listing save()
Save Solo-II Listing

Returns:

setAoml

public void setAoml(java.lang.Integer aoml)
Parameters:
aoml - the aoml to set

setArgoMissionParameters

public void setArgoMissionParameters(Solo2.Listing.ArgoMissionParameters argoMissionParameters)
Parameters:
argoMissionParameters - the argoMissionParameters to set

setComments

public void setComments(Solo2.Listing.Comments comments)
Parameters:
comments - the comments to set

setEngineeringData

public void setEngineeringData(Solo2.Listing.EngineeringData engineeringData)
Parameters:
engineeringData - the engineeringData to set

setFallData

public void setFallData(Solo2.Listing.FallData fallData)
Parameters:
fallData - the fallData to set

setFormatVersion

public void setFormatVersion(java.lang.Float formatVersion)
Parameters:
formatVersion - the formatVersion to set

setGpsData1

public void setGpsData1(Solo2.Listing.GPSData gpsData1)
Parameters:
gpsData1 - the gpsData1 to set

setGpsData2

public void setGpsData2(Solo2.Listing.GPSData gpsData2)
Parameters:
gpsData2 - the gpsData2 to set

setId

public void setId(Solo2.Listing.ID id)
Parameters:
id - the id to set

setImei

public void setImei(java.lang.Long imei)
Parameters:
imei - the imei to set

setListingFile

public void setListingFile(ADBFile listingFile)
Parameters:
listingFile - the listingFile to set

setPackets

public void setPackets(java.util.List<Solo2.Listing.Packet> packets)
Parameters:
packets - the packets to set

setPressureTimeSeriesData

public void setPressureTimeSeriesData(Solo2.Listing.PressureTimeSeriesData pressureTimeSeriesData)
Parameters:
pressureTimeSeriesData - the pressureTimeSeriesData to set

setProfileData

public void setProfileData(Solo2.Listing.ProfileData profileData)
Parameters:
profileData - the profileData to set

setReportedMissionParameters

public void setReportedMissionParameters(Solo2.ReportedMissionParameters reportedMissionParameters)
Parameters:
reportedMissionParameters - the reportedMissionParameters to set

setRiseData

public void setRiseData(Solo2.Listing.RiseData riseData)
Parameters:
riseData - the riseData to set

setShoreCommands

public void setShoreCommands(Solo2.Listing.ShoreCommands shoreCommands)
Parameters:
shoreCommands - the shoreCommands to set

setTransmissionId

public void setTransmissionId(java.lang.Integer transmissionId)
Parameters:
transmissionId - the transmissionId to set

setWmo

public void setWmo(java.lang.Integer wmo)
Parameters:
wmo - the wmo to set

toString

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