saaps.dbt
Class GOES10part

java.lang.Object
  |
  +--saaps.dbt.DatabaseObject
        |
        +--saaps.dbt.GOES10part

public class GOES10part
extends DatabaseObject
implements java.io.Serializable

A class for GOES-08 particle data. The class contains the date, and electron and proton fluxes for the following energies: P > 1 MeV P > 5 MeV P >10 MeV P >30 MeV P >50 MeV P>100 MeV E>0.6 MeV E>2.0 MeV E>4.0 MeV It also contain the longitude position of the satellite.

See Also:
Serialized Form

Constructor Summary
GOES10part()
           
GOES10part(java.util.Date D)
          This constructor is used if you want an "empty" object with this date.
GOES10part(java.util.Date D, double[] data)
           
GOES10part(java.util.Date D, double P1, double P5, double P10, double P30, double P50, double P100, double E06, double E2, double E4, double LG)
           
GOES10part(long L, double P1, double P5, double P10, double P30, double P50, double P100, double E06, double E2, double E4, double LG)
           
 
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
 double getE06()
           
 double getE2()
           
 double getE4()
           
 double getLongitude()
           
 int getNumberOfDataIndexes()
          getNumberOfDataIndexes will return the number of data "types" this DatabaseObject has.
 double getP1()
           
 double getP10()
           
 double getP100()
           
 double getP30()
           
 double getP5()
           
 double getP50()
           
 void setDate(java.util.Date D)
           
 void setDate(long L)
           
 void setE06(double E06)
           
 void setE2(double E2)
           
 void setE4(double E4)
           
 void setLongitude(double LG)
           
 void setP1(double P1)
           
 void setP10(double P10)
           
 void setP100(double P100)
           
 void setP30(double P30)
           
 void setP5(double P5)
           
 void setP50(double P50)
           
 java.lang.String toString()
           
 
Methods inherited from class saaps.dbt.DatabaseObject
getInstance, getInstance, getObjectSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GOES10part

public GOES10part()

GOES10part

public GOES10part(java.util.Date D)
This constructor is used if you want an "empty" object with this date.

GOES10part

public GOES10part(java.util.Date D,
                  double P1,
                  double P5,
                  double P10,
                  double P30,
                  double P50,
                  double P100,
                  double E06,
                  double E2,
                  double E4,
                  double LG)

GOES10part

public GOES10part(long L,
                  double P1,
                  double P5,
                  double P10,
                  double P30,
                  double P50,
                  double P100,
                  double E06,
                  double E2,
                  double E4,
                  double LG)

GOES10part

public GOES10part(java.util.Date D,
                  double[] data)
Method Detail

getP1

public double getP1()

getP5

public double getP5()

getP10

public double getP10()

getP30

public double getP30()

getP50

public double getP50()

getP100

public double getP100()

getE06

public double getE06()

getE2

public double getE2()

getE4

public double getE4()

getLongitude

public double getLongitude()

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)

setP1

public void setP1(double P1)

setP5

public void setP5(double P5)

setP10

public void setP10(double P10)

setP30

public void setP30(double P30)

setP50

public void setP50(double P50)

setP100

public void setP100(double P100)

setE06

public void setE06(double E06)

setE2

public void setE2(double E2)

setE4

public void setE4(double E4)

setLongitude

public void setLongitude(double LG)

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