|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mbari.oasis.CalibrationHistory
Contains methods for storing and retrieving calibration history information for MBARI moorings. A List for storing calibraion history information.
CalibrationHistoryFactory| Constructor Summary | |
CalibrationHistory()
Default Constructor. |
|
CalibrationHistory(java.lang.String instrumentType)
Adds the isntrument type to the list. |
|
| Method Summary | |
java.lang.String |
get(java.util.Date calDate)
Returns the name of the correct calibration file to use based on date |
java.lang.String |
get(long calDate)
Returns the name of the correct calibration file to use based on date |
java.lang.String |
getDefault()
returns the default calibration. |
java.lang.String |
getInstrumentType()
Returns the type of instrument calibrations stored in this object |
void |
set(java.util.Date startDate,
java.util.Date endDate,
java.lang.String cal)
Adds a calibration file to the history. |
void |
set(long startDate,
long endDate,
java.lang.String cal)
Adds a calibration file to the history. |
void |
setDefault(java.lang.String defaultCal)
Sets the default calibration file |
protected void |
setInstrumentType(java.lang.String instrumentType)
Useful for setting or changing the instrument type |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CalibrationHistory()
public CalibrationHistory(java.lang.String instrumentType)
instrumentType - The ID for this isntrument type| Method Detail |
protected void setInstrumentType(java.lang.String instrumentType)
instrumentType - The ID for the type of instrumentpublic java.lang.String getInstrumentType()
public void setDefault(java.lang.String defaultCal)
public java.lang.String getDefault()
public void set(java.util.Date startDate,
java.util.Date endDate,
java.lang.String cal)
startDate - The inclusive time that specifies when this cali file is validendDate - The inclusive time that specifies when this cla file is no longer valid.
public void set(long startDate,
long endDate,
java.lang.String cal)
startDate - The inclusive time that specifies when this cali file is validendDate - The inclusive time that specifies when this cla file is no longer valid.public java.lang.String get(java.util.Date calDate)
calDate - A date objec representing the date of samplepublic java.lang.String get(long calDate)
calDate - Millisec since epoch representing the date of sample.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||