grs.pds
Class Command

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

public class Command
extends Object
implements SQLData

Author:
guym E-Kernel PEF command.

Field Summary
 short cmd_id
           
 short opcode
           
 
Constructor Summary
Command()
           
Command(short opcode, short cmd_id)
          Create a command entry with the given opcode and cmd_id.
 
Method Summary
 String getSQLTypeName()
          Return the SQL type name, given when read from the database.
 void readSQL(SQLInput in, String type)
           
 void writeSQL(SQLOutput out)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

opcode

public short opcode

cmd_id

public short cmd_id
Constructor Detail

Command

public Command()

Command

public Command(short opcode,
               short cmd_id)
Create a command entry with the given opcode and cmd_id.

Method Detail

getSQLTypeName

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

Specified by:
getSQLTypeName in interface SQLData
See Also:
SQLData.getSQLTypeName()

readSQL

public void readSQL(SQLInput in,
                    String type)
             throws SQLException
Specified by:
readSQL in interface SQLData
SQLException
See Also:
SQLData.readSQL(SQLInput, String)

writeSQL

public void writeSQL(SQLOutput out)
              throws SQLException
Specified by:
writeSQL in interface SQLData
SQLException
See Also:
SQLData.writeSQL(SQLOutput)


2001 Mars Odyssey Gamma Ray Spectrometer Team