edu.whoi.ursa.argoDatabase.web.webData
Class WebData

java.lang.Object
  extended by edu.whoi.ursa.argoDatabase.web.webData.WebData

@Entity
public class WebData
extends java.lang.Object


Nested Class Summary
static class WebData.Plot
           
static class WebData.Profile
           
 
Field Summary
private  java.lang.Float age
           
private  java.lang.Integer aoml
           
private  java.lang.String aomlS
           
private  java.lang.Long argoId
           
private  java.lang.String dataCenter
           
private  java.lang.String deployAvailableProfileId
           
private  java.lang.String deployMission
           
private  java.lang.String deployPlatform
           
private  java.util.Calendar firstProfileDate
           
private  java.lang.String instrumentReference
           
private  java.lang.String instrumentType
           
(package private) static java.lang.Double juldToMillisecondRatio
           
private  java.util.Calendar lastProfileDate
           
private  java.util.Calendar launchDate
           
private  java.lang.Integer nProfiles
           
private  java.lang.String platformMaker
           
private  java.lang.String platformModel
           
private  java.util.SortedSet<WebData.Plot> plots
           
private  java.lang.String positioningSystem
           
private  java.lang.String principalInvestigator
           
private  java.util.SortedSet<WebData.Profile> profiles
           
private  java.lang.String projectName
           
private  java.lang.String ptt
           
private static java.util.GregorianCalendar referenceDate
           
private  java.lang.String transSystem
           
private  java.lang.String transSystemFrequency
           
private  java.lang.String transSystemId
           
private  java.lang.String transSystemRepetition
           
private  java.lang.Integer whoi
           
private  java.lang.String whoiS
           
private  java.lang.Integer wmo
           
private  java.lang.String wmoS
           
 
Constructor Summary
WebData()
           
WebData(java.lang.Long argoId)
           
 
Method Summary
 void addPlot(java.lang.Long dateModified, java.lang.String title, java.lang.String ursaLocation, java.lang.String webLocation)
           
 void addProfile(java.lang.Long id, java.lang.Double julianDate, java.lang.Double lat, java.lang.Double lon, java.lang.Integer cycleNumber)
           
 java.lang.Float getAge()
           
 java.lang.Integer getAoml()
           
 java.lang.String getAomlS()
           
 java.lang.Long getArgoId()
           
 java.lang.String getDataCenter()
           
 java.lang.String getDeployAvailableProfileId()
           
 java.lang.String getDeployMission()
           
 java.lang.String getDeployPlatform()
           
 WebData.Profile getFirstProfile()
           
 java.util.Calendar getFirstProfileDate()
           
 java.lang.String getInstrumentReference()
           
 java.lang.String getInstrumentType()
           
 WebData.Profile getLastProfile()
           
 java.util.Calendar getLastProfileDate()
           
 java.util.Calendar getLaunchDate()
           
 java.lang.Integer getnProfiles()
           
 java.lang.String getPlatformMaker()
           
 java.lang.String getPlatformModel()
           
 java.util.SortedSet<WebData.Plot> getPlots()
           
 java.lang.String getPositioningSystem()
           
 java.lang.String getPrincipalInvestigator()
           
 java.util.SortedSet<WebData.Profile> getProfiles()
           
 java.lang.String getProjectName()
           
 java.lang.String getPtt()
           
 java.lang.String getTransSystem()
           
 java.lang.String getTransSystemFrequency()
           
 java.lang.String getTransSystemId()
           
 java.lang.String getTransSystemRepetition()
           
 java.lang.Integer getWhoi()
           
 java.lang.String getWhoiS()
           
 java.lang.Integer getWmo()
           
 java.lang.String getWmoS()
           
 void setAge(java.lang.Float age)
           
 void setAoml(java.lang.Integer aoml)
           
 void setAomlS(java.lang.String aomlS)
           
 void setArgoId(java.lang.Long argoId)
           
 void setDataCenter(java.lang.String dataCenter)
           
 void setDatesAndAge()
           
 void setDeployAvailableProfileId(java.lang.String deployAvailableProfileId)
           
 void setDeployMission(java.lang.String deployMission)
           
 void setDeployPlatform(java.lang.String deployPlatform)
           
 void setFirstProfileDate(java.util.Calendar firstProfileDate)
           
 void setInstrumentReference(java.lang.String instrumentReference)
           
 void setInstrumentType(java.lang.String instrumentType)
           
 void setLastProfileDate(java.util.Calendar lastProfileDate)
           
 void setLaunchDate(java.util.Calendar launchDate)
           
 void setnProfiles(java.lang.Integer nProfiles)
           
 void setPlatformMaker(java.lang.String platformMaker)
           
 void setPlatformModel(java.lang.String platformModel)
           
 void setPlots(java.util.SortedSet<WebData.Plot> plots)
           
 void setPositioningSystem(java.lang.String positioningSystem)
           
 void setPrincipalInvestigator(java.lang.String principalInvestigator)
           
 void setProfiles(java.util.SortedSet<WebData.Profile> profiles)
           
 void setProjectName(java.lang.String projectName)
           
 void setPtt(java.lang.String ptt)
           
 void setTransSystem(java.lang.String transSystem)
           
 void setTransSystemFrequency(java.lang.String transSystemFrequency)
           
 void setTransSystemId(java.lang.String transSystemId)
           
 void setTransSystemRepetition(java.lang.String transSystemRepetition)
           
 void setWhoi(java.lang.Integer whoi)
           
 void setWhoiS(java.lang.String whoiS)
           
 void setWmo(java.lang.Integer wmo)
           
 void setWmoS(java.lang.String wmoS)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

juldToMillisecondRatio

static final java.lang.Double juldToMillisecondRatio

referenceDate

private static final java.util.GregorianCalendar referenceDate

argoId

private java.lang.Long argoId

wmo

private java.lang.Integer wmo

wmoS

private java.lang.String wmoS

whoi

private java.lang.Integer whoi

whoiS

private java.lang.String whoiS

aoml

private java.lang.Integer aoml

aomlS

private java.lang.String aomlS

nProfiles

private java.lang.Integer nProfiles

age

private java.lang.Float age

launchDate

private java.util.Calendar launchDate

firstProfileDate

private java.util.Calendar firstProfileDate

lastProfileDate

private java.util.Calendar lastProfileDate

dataCenter

private java.lang.String dataCenter

projectName

private java.lang.String projectName

principalInvestigator

private java.lang.String principalInvestigator

instrumentReference

private java.lang.String instrumentReference

instrumentType

private java.lang.String instrumentType

deployMission

private java.lang.String deployMission

deployPlatform

private java.lang.String deployPlatform

deployAvailableProfileId

private java.lang.String deployAvailableProfileId

platformMaker

private java.lang.String platformMaker

platformModel

private java.lang.String platformModel

positioningSystem

private java.lang.String positioningSystem

ptt

private java.lang.String ptt

transSystem

private java.lang.String transSystem

transSystemId

private java.lang.String transSystemId

transSystemFrequency

private java.lang.String transSystemFrequency

transSystemRepetition

private java.lang.String transSystemRepetition

profiles

private java.util.SortedSet<WebData.Profile> profiles

plots

private java.util.SortedSet<WebData.Plot> plots
Constructor Detail

WebData

public WebData()

WebData

public WebData(java.lang.Long argoId)
Parameters:
argoId -
Method Detail

addProfile

public void addProfile(java.lang.Long id,
                       java.lang.Double julianDate,
                       java.lang.Double lat,
                       java.lang.Double lon,
                       java.lang.Integer cycleNumber)

getFirstProfile

public WebData.Profile getFirstProfile()

getLastProfile

public WebData.Profile getLastProfile()

setDatesAndAge

public void setDatesAndAge()

addPlot

public void addPlot(java.lang.Long dateModified,
                    java.lang.String title,
                    java.lang.String ursaLocation,
                    java.lang.String webLocation)

getArgoId

public java.lang.Long getArgoId()
Returns:
the argoId

setArgoId

public void setArgoId(java.lang.Long argoId)
Parameters:
argoId - the argoId to set

getWmo

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

setWmo

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

getWhoi

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

setWhoi

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

getAoml

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

setAoml

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

getnProfiles

public java.lang.Integer getnProfiles()
Returns:
the nProfiles

setnProfiles

public void setnProfiles(java.lang.Integer nProfiles)
Parameters:
nProfiles - the nProfiles to set

getLaunchDate

public java.util.Calendar getLaunchDate()
Returns:
the launchdate

setLaunchDate

public void setLaunchDate(java.util.Calendar launchDate)
Parameters:
launchdate - the launchdate to set

getFirstProfileDate

public java.util.Calendar getFirstProfileDate()
Returns:
the firstProfileDate

setFirstProfileDate

public void setFirstProfileDate(java.util.Calendar firstProfileDate)
Parameters:
firstProfileDate - the firstProfileDate to set

getLastProfileDate

public java.util.Calendar getLastProfileDate()
Returns:
the lastProfileDate

setLastProfileDate

public void setLastProfileDate(java.util.Calendar lastProfileDate)
Parameters:
lastProfileDate - the lastProfileDate to set

getDataCenter

public java.lang.String getDataCenter()
Returns:
the dataCenter

setDataCenter

public void setDataCenter(java.lang.String dataCenter)
Parameters:
dataCenter - the dataCenter to set

getProjectName

public java.lang.String getProjectName()
Returns:
the projectName

setProjectName

public void setProjectName(java.lang.String projectName)
Parameters:
projectName - the projectName to set

getPrincipalInvestigator

public java.lang.String getPrincipalInvestigator()
Returns:
the principalInvestigator

setPrincipalInvestigator

public void setPrincipalInvestigator(java.lang.String principalInvestigator)
Parameters:
principalInvestigator - the principalInvestigator to set

getInstrumentType

public java.lang.String getInstrumentType()
Returns:
the instrumentType

setInstrumentType

public void setInstrumentType(java.lang.String instrumentType)
Parameters:
instrumentType - the instrumentType to set

getAge

public java.lang.Float getAge()
Returns:
the age

setAge

public void setAge(java.lang.Float age)
Parameters:
age - the age to set

getPlots

public java.util.SortedSet<WebData.Plot> getPlots()
Returns:
the plots

setPlots

public void setPlots(java.util.SortedSet<WebData.Plot> plots)
Parameters:
plots - the plots to set

getInstrumentReference

public java.lang.String getInstrumentReference()
Returns:
the instrumentReference

setInstrumentReference

public void setInstrumentReference(java.lang.String instrumentReference)
Parameters:
instrumentReference - the instrumentReference to set

getProfiles

public java.util.SortedSet<WebData.Profile> getProfiles()
Returns:
the profiles

setProfiles

public void setProfiles(java.util.SortedSet<WebData.Profile> profiles)
Parameters:
profiles - the profiles to set

getWmoS

public java.lang.String getWmoS()
Returns:
the wmoS

setWmoS

public void setWmoS(java.lang.String wmoS)
Parameters:
wmoS - the wmoS to set

getWhoiS

public java.lang.String getWhoiS()
Returns:
the whoiS

setWhoiS

public void setWhoiS(java.lang.String whoiS)
Parameters:
whoiS - the whoiS to set

getAomlS

public java.lang.String getAomlS()
Returns:
the aomlS

setAomlS

public void setAomlS(java.lang.String aomlS)
Parameters:
aomlS - the aomlS to set

getDeployMission

public java.lang.String getDeployMission()
Returns:
the deployMission

setDeployMission

public void setDeployMission(java.lang.String deployMission)
Parameters:
deployMission - the deployMission to set

getDeployPlatform

public java.lang.String getDeployPlatform()
Returns:
the deployPlatform

setDeployPlatform

public void setDeployPlatform(java.lang.String deployPlatform)
Parameters:
deployPlatform - the deployPlatform to set

getPlatformMaker

public java.lang.String getPlatformMaker()
Returns:
the platformMaker

setPlatformMaker

public void setPlatformMaker(java.lang.String platformMaker)
Parameters:
platformMaker - the platformMaker to set

getPlatformModel

public java.lang.String getPlatformModel()
Returns:
the platformModel

setPlatformModel

public void setPlatformModel(java.lang.String platformModel)
Parameters:
platformModel - the platformModel to set

getPositioningSystem

public java.lang.String getPositioningSystem()
Returns:
the positioningSystem

setPositioningSystem

public void setPositioningSystem(java.lang.String positioningSystem)
Parameters:
positioningSystem - the positioningSystem to set

getPtt

public java.lang.String getPtt()
Returns:
the ptt

setPtt

public void setPtt(java.lang.String ptt)
Parameters:
ptt - the ptt to set

getTransSystem

public java.lang.String getTransSystem()
Returns:
the transSystem

setTransSystem

public void setTransSystem(java.lang.String transSystem)
Parameters:
transSystem - the transSystem to set

getTransSystemId

public java.lang.String getTransSystemId()
Returns:
the transSystemId

setTransSystemId

public void setTransSystemId(java.lang.String transSystemId)
Parameters:
transSystemId - the transSystemId to set

getTransSystemFrequency

public java.lang.String getTransSystemFrequency()
Returns:
the transSystemFrequency

setTransSystemFrequency

public void setTransSystemFrequency(java.lang.String transSystemFrequency)
Parameters:
transSystemFrequency - the transSystemFrequency to set

getTransSystemRepetition

public java.lang.String getTransSystemRepetition()
Returns:
the transSystemRepetition

setTransSystemRepetition

public void setTransSystemRepetition(java.lang.String transSystemRepetition)
Parameters:
transSystemRepetition - the transSystemRepetition to set

getDeployAvailableProfileId

public java.lang.String getDeployAvailableProfileId()
Returns:
the deployAvailableProfileId

setDeployAvailableProfileId

public void setDeployAvailableProfileId(java.lang.String deployAvailableProfileId)
Parameters:
deployAvailableProfileId - the deployAvailableProfileId to set

toString

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