grs.pds
Class PefSetVa

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

public class PefSetVa
extends Object
implements SQLData

Variable length array of PEF.


Constructor Summary
PefSetVa()
           
 
Method Summary
 short getId(int index)
          Get the id from a given element.
 short getOpcode(int index)
          Get the opcode from a given element.
 String getSQLTypeName()
          Get the type name as set in the name mapping.
 int length()
          Get array length.
 void readSQL(SQLInput stream, String typeName)
           
 void writeSQL(SQLOutput stream)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PefSetVa

public PefSetVa()
Method Detail

length

public int length()
Get array length.

Returns:
number of elements

getOpcode

public short getOpcode(int index)
Get the opcode from a given element.

Parameters:
index - Element
Returns:
opcide

getId

public short getId(int index)
Get the id from a given element.

Parameters:
index - Element
Returns:
id

getSQLTypeName

public String getSQLTypeName()
Get the type name as set in the name mapping.

Specified by:
getSQLTypeName in interface SQLData
Returns:
name

readSQL

public void readSQL(SQLInput stream,
                    String typeName)
             throws SQLException
Specified by:
readSQL in interface SQLData
Parameters:
stream - Stream to read from.
typeName -
Throws:
SQLException - Error reading from stream.

writeSQL

public void writeSQL(SQLOutput stream)
Specified by:
writeSQL in interface SQLData
Parameters:
stream - Stream to write to.


2001 Mars Odyssey Gamma Ray Spectrometer Team