edu.whoi.ursa.argoDatabase.entity
Class Solo

java.lang.Object
  extended by edu.whoi.ursa.argoDatabase.entity.Solo

@Entity(name="Solo")
public class Solo
extends java.lang.Object

Author:
Alexander K. Ekholm

Nested Class Summary
static class Solo.ARGOSListing
          Solo ARGOS Listing
static class Solo.COMM_TYPE
          Solo communication type - ARGOS or Iridium
static class Solo.IridiumListing
          Solo Iridium Listing
static class Solo.SummaryTable
          Solo Summary Table
static class Solo.SystemFlag
          Solo system flags
 
Field Summary
private  java.lang.Integer aoml
           
private  java.lang.Double lastCycleLengthInDays
           
private  java.util.Calendar lastReported
           
private  java.util.Calendar nextSurface
           
private  java.lang.Integer nListings
           
private  Solo.COMM_TYPE type
           
private  java.lang.Integer whoi
           
private  java.lang.Integer wmo
           
 
Constructor Summary
Solo()
           
 
Method Summary
 java.lang.Integer getAoml()
           
 java.util.List<Solo.ARGOSListing> getArgosListings()
           
static Solo getByWhoi(java.lang.Integer whoi)
          Get solo object from ID
static Solo getByWmo(java.lang.Integer wmo)
          Get solo object from ID
 java.lang.Double getLastCycleLengthInDays()
           
 java.util.Calendar getLastReported()
           
 java.util.Calendar getNextSurface()
           
 java.lang.Integer getnListings()
           
 Solo.COMM_TYPE getType()
           
 java.lang.Integer getWhoi()
           
 java.lang.Integer getWmo()
           
private  Form printListingSection(Form form)
          Print listing form section
 org.w3c.dom.Element printOverview(org.w3c.dom.Element element)
          Print Solo overview to element
 void setAoml(java.lang.Integer aoml)
           
 void setLastCycleLengthInDays(java.lang.Double lastCycleLengthInDays)
           
 void setLastReported(java.util.Calendar lastReported)
           
 void setNextSurface(java.util.Calendar nextSurface)
           
 void setnListings(java.lang.Integer nListings)
           
 void setType(Solo.COMM_TYPE type)
           
 void setWhoi(java.lang.Integer whoi)
           
 void setWmo(java.lang.Integer wmo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

whoi

private java.lang.Integer whoi

wmo

private java.lang.Integer wmo

aoml

private java.lang.Integer aoml

nListings

private java.lang.Integer nListings

lastCycleLengthInDays

private java.lang.Double lastCycleLengthInDays

lastReported

private java.util.Calendar lastReported

nextSurface

private java.util.Calendar nextSurface

type

private Solo.COMM_TYPE type
Constructor Detail

Solo

public Solo()
Method Detail

getByWhoi

public static Solo getByWhoi(java.lang.Integer whoi)
Get solo object from ID

Parameters:
whoi -
Returns:

getByWmo

public static Solo getByWmo(java.lang.Integer wmo)
Get solo object from ID

Parameters:
wmo -
Returns:

getAoml

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

getArgosListings

public java.util.List<Solo.ARGOSListing> getArgosListings()
Returns:

getLastCycleLengthInDays

public java.lang.Double getLastCycleLengthInDays()
Returns:
the lastCycleLengthInDays

getLastReported

public java.util.Calendar getLastReported()
Returns:
the lastReported

getNextSurface

public java.util.Calendar getNextSurface()
Returns:
the nextSurface

getnListings

public java.lang.Integer getnListings()
Returns:
the nListings

getType

public Solo.COMM_TYPE getType()
Returns:
the type

getWhoi

public java.lang.Integer getWhoi()
Returns:
the whoi

getWmo

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

printListingSection

private Form printListingSection(Form form)
Print listing form section

Parameters:
form -
Returns:

printOverview

public org.w3c.dom.Element printOverview(org.w3c.dom.Element element)
Print Solo overview to element

Parameters:
element -
Returns:

setAoml

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

setLastCycleLengthInDays

public void setLastCycleLengthInDays(java.lang.Double lastCycleLengthInDays)
Parameters:
lastCycleLengthInDays - the lastCycleLengthInDays to set

setLastReported

public void setLastReported(java.util.Calendar lastReported)
Parameters:
lastReported - the lastReported to set

setNextSurface

public void setNextSurface(java.util.Calendar nextSurface)
Parameters:
nextSurface - the nextSurface to set

setnListings

public void setnListings(java.lang.Integer nListings)
Parameters:
nListings - the nListings to set

setType

public void setType(Solo.COMM_TYPE type)
Parameters:
type - the type to set

setWhoi

public void setWhoi(java.lang.Integer whoi)
Parameters:
whoi - the whoi to set

setWmo

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