grs.pds
Class PefSet

java.lang.Object
  |
  +--grs.pds.PefSet
All Implemented Interfaces:
SQLData

public class PefSet
extends Object
implements SQLData


Field Summary
 short id
          id
 short opcode
          opcode
 
Constructor Summary
PefSet()
           
 
Method Summary
 short getId()
          Get the id.
 short getOpcode()
          Get the opcode.
 String getSQLTypeName()
          Get the type from the name mapping.
 void readSQL(SQLInput stream, String typeName)
          Read record from a stream.
 void writeSQL(SQLOutput stream)
          Write this record to a stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

opcode

public short opcode
opcode


id

public short id
id

Constructor Detail

PefSet

public PefSet()
Method Detail

getOpcode

public short getOpcode()
Get the opcode.

Returns:
opcode

getId

public short getId()
Get the id.

Returns:
id

getSQLTypeName

public String getSQLTypeName()
Get the type from the name mapping.

Specified by:
getSQLTypeName in interface SQLData
Returns:
name

readSQL

public void readSQL(SQLInput stream,
                    String typeName)
             throws SQLException
Read record from a stream.

Specified by:
readSQL in interface SQLData
Parameters:
stream - Stream to read from.
typeName - Type name.
Throws:
SQLException - Error reading from stream.

writeSQL

public void writeSQL(SQLOutput stream)
              throws SQLException
Write this record to a stream.

Specified by:
writeSQL in interface SQLData
Parameters:
stream - Stream to write to.
Throws:
SQLException - Error writing to stream.


2001 Mars Odyssey Gamma Ray Spectrometer Team