edu.whoi.ursa.argoDatabase.entity
Class GreyList

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

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


Nested Class Summary
static class GreyList.ID
          Grey list identifier.
static class GreyList.SummaryTable
           
 
Field Summary
private  java.lang.Integer aoml
           
private  java.lang.String comment
           
private  java.lang.String dac
           
private  java.util.Calendar endDate
           
private  GreyList.ID id
           
private static java.lang.String path
           
private  java.lang.Integer qualityCode
           
private static java.lang.String type
           
static Updator updator
           
private  java.lang.Integer whoi
           
 
Constructor Summary
GreyList()
           
GreyList(GreyList.ID id, java.util.Calendar endDate, java.lang.Integer qualityCode, java.lang.String comment, java.lang.String dac)
           
GreyList(java.lang.Integer wmo, java.lang.String parameter, java.util.Calendar startDate, java.util.Calendar endDate, java.lang.Integer qualityCode, java.lang.String comment, java.lang.String dac)
           
 
Method Summary
private static GreyList createGreyListEntry(java.lang.String line)
           
static java.util.List<GreyList> get(java.lang.Integer wmo)
          Get GreyList object from wmo #
static ADBFile getADBFile()
           
 java.lang.Integer getAoml()
           
 java.lang.String getComment()
           
 java.lang.String getDac()
           
 java.util.Calendar getEndDate()
           
 GreyList.ID getId()
           
 java.lang.Integer getQualityCode()
           
 java.lang.Integer getWhoi()
           
 void setAoml(java.lang.Integer aoml)
           
 void setComment(java.lang.String comment)
           
 void setDac(java.lang.String dac)
           
 void setEndDate(java.util.Calendar endDate)
           
 void setId(GreyList.ID id)
           
 void setQualityCode(java.lang.Integer qualityCode)
           
 void setWhoi(java.lang.Integer whoi)
           
private static void updateGreyList()
          Update grey list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

id

private GreyList.ID id

whoi

private java.lang.Integer whoi

aoml

private java.lang.Integer aoml

endDate

private java.util.Calendar endDate

qualityCode

private java.lang.Integer qualityCode

comment

private java.lang.String comment

dac

private java.lang.String dac
Constructor Detail

GreyList

public GreyList()

GreyList

public GreyList(GreyList.ID id,
                java.util.Calendar endDate,
                java.lang.Integer qualityCode,
                java.lang.String comment,
                java.lang.String dac)
Parameters:
id -
endDate -
qualityCode -
comment -
dac -

GreyList

public GreyList(java.lang.Integer wmo,
                java.lang.String parameter,
                java.util.Calendar startDate,
                java.util.Calendar endDate,
                java.lang.Integer qualityCode,
                java.lang.String comment,
                java.lang.String dac)
Parameters:
id -
endDate -
qualityCode -
comment -
dac -
Method Detail

getId

public GreyList.ID getId()
Returns:
the id

setId

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

getEndDate

public java.util.Calendar getEndDate()
Returns:
the endDate

setEndDate

public void setEndDate(java.util.Calendar endDate)
Parameters:
endDate - the endDate to set

getQualityCode

public java.lang.Integer getQualityCode()
Returns:
the qualityCode

setQualityCode

public void setQualityCode(java.lang.Integer qualityCode)
Parameters:
qualityCode - the qualityCode to set

getComment

public java.lang.String getComment()
Returns:
the comment

setComment

public void setComment(java.lang.String comment)
Parameters:
comment - the comment to set

getDac

public java.lang.String getDac()
Returns:
the dac

setDac

public void setDac(java.lang.String dac)
Parameters:
dac - the dac to set

getADBFile

public static ADBFile getADBFile()

updateGreyList

private static void updateGreyList()
Update grey list


createGreyListEntry

private static GreyList createGreyListEntry(java.lang.String line)
Parameters:
line -
Returns:
GreyList

getWhoi

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

getAoml

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

setWhoi

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

setAoml

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

get

public static java.util.List<GreyList> get(java.lang.Integer wmo)
Get GreyList object from wmo #

Parameters:
wmo -
Returns: