saaps.dbt
Class LANL1990_095
java.lang.Object
|
+--saaps.dbt.DatabaseObject
|
+--saaps.dbt.LANL1990_095
- All Implemented Interfaces:
- java.io.Serializable
- public class LANL1990_095
- extends DatabaseObject
- implements java.io.Serializable
A class for LANL 1990-095 object.
The class contains the date and LANL data fields.
The following fields are included:
- Latitude
- Longitude east
- Radius (Re)
- E21.6-28.9 eV
- E87-114 eV
- E0.793-1.04 keV
- E9.23-12.14 keV
- E75-105 keV
- E0.75-1.1 MeV
- E7.8-10.8 MeV
- Version:
- 1.0 2001-02-13
- Author:
- Peter Wintoft
- See Also:
- Serialized Form
Method Summary |
java.util.Vector |
getData()
|
double |
getData(int index)
This method will return the data value of the DatabaseObject
at position "index" converted to a double. |
long |
getDataSize()
This method returns the size of the data that is to be written to file |
java.util.Date |
getDate()
getDate will return the Date associated with this DatabaseObject |
int |
getNumberOfDataIndexes()
getNumberOfDataIndexes will return the number of data "types" this
DatabaseObject has. |
void |
setData(double[] DATA)
|
void |
setData(double DATA,
int index)
|
void |
setDate(java.util.Date D)
|
void |
setDate(long L)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
numberOfIndexes
private static int numberOfIndexes
d
private java.util.Date d
data
private double[] data
LANL1990_095
public LANL1990_095()
LANL1990_095
public LANL1990_095(java.util.Date D)
LANL1990_095
public LANL1990_095(java.util.Date D,
double[] DATA)
LANL1990_095
public LANL1990_095(long L,
double[] DATA)
getNumberOfDataIndexes
public int getNumberOfDataIndexes()
- Description copied from class:
DatabaseObject
- getNumberOfDataIndexes will return the number of data "types" this
DatabaseObject has.
- Overrides:
getNumberOfDataIndexes
in class DatabaseObject
getDate
public java.util.Date getDate()
- Description copied from class:
DatabaseObject
- getDate will return the Date associated with this DatabaseObject
- Overrides:
getDate
in class DatabaseObject
getData
public java.util.Vector getData()
getData
public double getData(int index)
- Description copied from class:
DatabaseObject
- This method will return the data value of the DatabaseObject
at position "index" converted to a double.
If datavalue index doesn't exist we should either throw an exception
or return a value that doesn't represent a number.
- Overrides:
getData
in class DatabaseObject
getDataSize
public long getDataSize()
throws java.io.IOException
- This method returns the size of the data that is to be written to file
- Overrides:
getDataSize
in class DatabaseObject
setDate
public void setDate(java.util.Date D)
setDate
public void setDate(long L)
setData
public void setData(double[] DATA)
setData
public void setData(double DATA,
int index)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object