grs.pds
Class GpaCoefficients

java.lang.Object
  |
  +--grs.pds.GpaCoefficients

public class GpaCoefficients
extends Object

Object class for GPA_COEFFICIENTS.


Constructor Summary
GpaCoefficients()
          Construct a new GpaCoefficients, initialized to zero.
GpaCoefficients(double x, double y, double z)
          Construct a new GpaCoefficients, with vector components x, y, and z.
 
Method Summary
 String getSQLTypeName()
          Return the SQL type name, given when read from the database.
 void readDataStream(DataInputStream in)
          Read the record from DataInputStream.
 void readSQL(SQLInput in, String type)
          Read the record from SQL input.
 void writeDataStream(DataOutputStream out)
          Write the record to a DataOutputStream.
 void writeSQL(SQLOutput out)
          Write the record to a SQL output.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GpaCoefficients

public GpaCoefficients()
Construct a new GpaCoefficients, initialized to zero.


GpaCoefficients

public GpaCoefficients(double x,
                       double y,
                       double z)
Construct a new GpaCoefficients, with vector components x, y, and z.

Parameters:
x - first coefficient
y - second coefficient
z - third coefficient
Method Detail

getSQLTypeName

public String getSQLTypeName()
Return the SQL type name, given when read from the database.

Returns:
type name
See Also:
SQLData.getSQLTypeName()

readSQL

public void readSQL(SQLInput in,
                    String type)
             throws SQLException
Read the record from SQL input.

Parameters:
in - Read source
type - type name
Throws:
SQLException - Database error (type map set?)
See Also:
SQLData.readSQL(SQLInput, String)

writeSQL

public void writeSQL(SQLOutput out)
              throws SQLException
Write the record to a SQL output.

Parameters:
out - Write source
Throws:
SQLException - Database error (type map set?)
See Also:
SQLData.writeSQL(SQLOutput)

readDataStream

public void readDataStream(DataInputStream in)
                    throws IOException
Read the record from DataInputStream.

Parameters:
in - Stream to read from.
Throws:
IOException - Error reading from stream.

writeDataStream

public void writeDataStream(DataOutputStream out)
                     throws IOException
Write the record to a DataOutputStream.

Parameters:
out - Stream to write to.
Throws:
IOException - Error writing to stream.


2001 Mars Odyssey Gamma Ray Spectrometer Team