edu.whoi.ursa.argoDatabase.entity
Class FloatDictionary

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

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


Nested Class Summary
static class FloatDictionary.Table
          Web table for float dictionary
 
Field Summary
private  java.lang.Integer act
           
static java.lang.Integer ACTIVE
           
private static java.lang.Object[][] ACTIVITY_CODES
           
private  java.lang.Integer aoml
           
private  java.lang.String comm
           
static java.lang.Integer DECEASED
           
static java.lang.Integer EQUIVALENT
           
private  java.lang.String file
           
static java.lang.Integer FOREIGN
           
private  java.lang.String instrument
           
private  java.util.Calendar launch
           
private  java.lang.String location
           
static java.lang.Integer NON_ARGO
           
private static java.lang.String path
           
private  java.lang.String plat
           
private  java.lang.String prog
           
static java.lang.Integer TEMPORARY
           
private static java.lang.String type
           
static Updator updator
           
private  java.lang.Integer whoi
           
private  java.lang.Integer wmo
           
 
Constructor Summary
FloatDictionary()
           
FloatDictionary(java.lang.Integer whoi)
           
 
Method Summary
private static FloatDictionary createFloatDictionaryEntry(java.lang.String line)
           
 java.lang.Integer getAct()
           
static java.lang.String getActivityStringFromCode(java.lang.Integer code)
          Get activity string from code
static ADBFile getADBFile()
           
 java.lang.Integer getAoml()
           
 java.lang.String getComm()
           
 java.lang.String getFile()
           
 java.lang.String getInstrument()
           
 java.util.Calendar getLaunch()
           
 java.lang.String getLocation()
           
 java.lang.String getPlat()
           
 java.lang.String getProg()
           
 java.lang.Integer getWhoi()
           
 java.lang.Integer getWmo()
           
static void main(java.lang.String[] args)
           
private static java.util.Calendar parseDate(java.lang.String s)
           
private static java.lang.Integer parseInt(java.lang.String s)
           
 void setAct(java.lang.Integer act)
           
 void setAoml(java.lang.Integer aoml)
           
 void setComm(java.lang.String comm)
           
 void setFile(java.lang.String file)
           
 void setInstrument(java.lang.String instrument)
           
 void setLaunch(java.util.Calendar launch)
           
 void setLocation(java.lang.String location)
           
 void setPlat(java.lang.String plat)
           
 void setProg(java.lang.String prog)
           
 void setWhoi(java.lang.Integer whoi)
           
 void setWmo(java.lang.Integer wmo)
           
private static void updateFloatDictionary()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEMPORARY

public static final java.lang.Integer TEMPORARY

ACTIVE

public static final java.lang.Integer ACTIVE

EQUIVALENT

public static final java.lang.Integer EQUIVALENT

NON_ARGO

public static final java.lang.Integer NON_ARGO

FOREIGN

public static final java.lang.Integer FOREIGN

DECEASED

public static final java.lang.Integer DECEASED

ACTIVITY_CODES

private static final java.lang.Object[][] ACTIVITY_CODES

updator

public static Updator updator

type

private static final java.lang.String type
See Also:
Constant Field Values

path

private static final java.lang.String path

whoi

private java.lang.Integer whoi

instrument

private java.lang.String instrument

comm

private java.lang.String comm

prog

private java.lang.String prog

plat

private java.lang.String plat

aoml

private java.lang.Integer aoml

launch

private java.util.Calendar launch

wmo

private java.lang.Integer wmo

act

private java.lang.Integer act

file

private java.lang.String file

location

private java.lang.String location
Constructor Detail

FloatDictionary

public FloatDictionary()

FloatDictionary

public FloatDictionary(java.lang.Integer whoi)
Parameters:
whoi -
Method Detail

getActivityStringFromCode

public static java.lang.String getActivityStringFromCode(java.lang.Integer code)
Get activity string from code

Parameters:
code -
Returns:
activity string or null on invalid code

createFloatDictionaryEntry

private static FloatDictionary createFloatDictionaryEntry(java.lang.String line)
Parameters:
line -
Returns:
GreyListIn Queue

getADBFile

public static ADBFile getADBFile()

main

public static void main(java.lang.String[] args)

parseDate

private static java.util.Calendar parseDate(java.lang.String s)

parseInt

private static java.lang.Integer parseInt(java.lang.String s)

updateFloatDictionary

private static void updateFloatDictionary()

getAct

public java.lang.Integer getAct()
Returns:
the act

getAoml

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

getComm

public java.lang.String getComm()
Returns:
the comm

getFile

public java.lang.String getFile()
Returns:
the file

getInstrument

public java.lang.String getInstrument()
Returns:
the instrument

getLaunch

public java.util.Calendar getLaunch()
Returns:
the launch

getLocation

public java.lang.String getLocation()
Returns:
the location

getPlat

public java.lang.String getPlat()
Returns:
the plat

getProg

public java.lang.String getProg()
Returns:
the prog

getWhoi

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

getWmo

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

setAct

public void setAct(java.lang.Integer act)
Parameters:
act - the act to set

setAoml

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

setComm

public void setComm(java.lang.String comm)
Parameters:
comm - the comm to set

setFile

public void setFile(java.lang.String file)
Parameters:
file - the file to set

setInstrument

public void setInstrument(java.lang.String instrument)
Parameters:
instrument - the instrument to set

setLaunch

public void setLaunch(java.util.Calendar launch)
Parameters:
launch - the launch to set

setLocation

public void setLocation(java.lang.String location)
Parameters:
location - the location to set

setPlat

public void setPlat(java.lang.String plat)
Parameters:
plat - the plat to set

setProg

public void setProg(java.lang.String prog)
Parameters:
prog - the prog 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