saaps.dbt
Class ACEmagHourly
java.lang.Object
|
+--saaps.dbt.DatabaseObject
|
+--saaps.dbt.ACEmagHourly
- public class ACEmagHourly
- extends DatabaseObject
- implements java.io.Serializable
A class for ACE magnetometer objects.
The class contains the date, Bx, By, Bz in GSE,
and Bt from the ACE spacecraft.
There are methods to read
and write date and ACE data.
- See Also:
- Serialized Form
Constructor Summary |
ACEmagHourly()
|
ACEmagHourly(java.util.Date D)
This constructor is used if you want an "empty" object with this date. |
ACEmagHourly(java.util.Date D,
double[] data)
|
ACEmagHourly(java.util.Date D,
double BX,
double BY,
double BZ,
double BT)
|
ACEmagHourly(long L,
double BX,
double BY,
double BZ,
double BT)
|
Method Summary |
double |
getBt()
|
double |
getBx()
|
double |
getBy()
|
double |
getBz()
|
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 |
setBt(double BT)
|
void |
setBx(double BX)
|
void |
setBy(double BY)
|
void |
setBz(double BZ)
|
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,
wait,
wait,
wait |
ACEmagHourly
public ACEmagHourly()
ACEmagHourly
public ACEmagHourly(java.util.Date D)
- This constructor is used if you want an "empty" object with this date.
ACEmagHourly
public ACEmagHourly(java.util.Date D,
double[] data)
ACEmagHourly
public ACEmagHourly(java.util.Date D,
double BX,
double BY,
double BZ,
double BT)
ACEmagHourly
public ACEmagHourly(long L,
double BX,
double BY,
double BZ,
double BT)
getBx
public double getBx()
getBy
public double getBy()
getBz
public double getBz()
getBt
public double getBt()
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()
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)
setBx
public void setBx(double BX)
setBy
public void setBy(double BY)
setBz
public void setBz(double BZ)
setBt
public void setBt(double BT)
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
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
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object