dea.beans
Class Hc_echo

java.lang.Object
  extended bydea.beans.Hc_echo
All Implemented Interfaces:
IDebugLevels, java.io.Serializable

public class Hc_echo
extends java.lang.Object
implements java.io.Serializable, IDebugLevels

Title: hc_echo Helper
Description: Class for holding data from the hc_echo table.
Copyright: Copyright (c) 2001-2004
Company: RMRR

Version:
1.0
Primary key is on column:HC_ECHO_ID
Create statment: CREATE TABLE `hc_echo` ( `hc_echo_id` int(11) NOT NULL auto_increment, `received` datetime NOT NULL default '0000-00-00 00:00:00', `hc_cmd_id` int(11) NOT NULL default '16', `hc_echo_a` int(11) NOT NULL default '0', `hc_echo_b` int(11) NOT NULL default '0', `hc_echo_c` int(11) default '0', `processed` datetime default NULL, `cmd_key` double(13,11) default '0.00000000000', PRIMARY KEY (`hc_echo_id`), UNIQUE KEY `cmd_key_idx` (`cmd_key`) ) TYPE=MyISAM
Author:
David Abigt via GenBean
See Also:
Serialized Form

Field Summary
protected  java.lang.Double cmd_key
           
static java.lang.String CMD_KEY
           
static int CMD_KEY_LEN
           
protected static Display display
           
static java.lang.String GETALL
           
protected  java.lang.Integer hc_cmd_id
           
static java.lang.String HC_CMD_ID
           
static int HC_CMD_ID_LEN
           
protected  java.lang.Integer hc_echo_a
           
static java.lang.String HC_ECHO_A
           
static int HC_ECHO_A_LEN
           
protected  java.lang.Integer hc_echo_b
           
static java.lang.String HC_ECHO_B
           
static int HC_ECHO_B_LEN
           
protected  java.lang.Integer hc_echo_c
           
static java.lang.String HC_ECHO_C
           
static int HC_ECHO_C_LEN
           
protected  java.lang.Integer hc_echo_id
           
static java.lang.String HC_ECHO_ID
           
static int HC_ECHO_ID_LEN
           
protected  java.sql.Timestamp processed
           
static java.lang.String PROCESSED
           
static int PROCESSED_LEN
           
protected  java.sql.Timestamp received
           
static java.lang.String RECEIVED
           
static int RECEIVED_LEN
           
static java.lang.String TABLE_NAME
           
 
Fields inherited from interface dea.common.IDebugLevels
BASIC, DEBUG_ALL, ERROR, METH_DETAIL, METH_ENTER, METH_EXIT, METH_EXT, METH_GET, METH_SET, METH_VARS, SHOW_PASS
 
Constructor Summary
Hc_echo()
          Basic constructor
Hc_echo(int pk)
          load record from the DB by primary key.
 
Method Summary
 java.lang.Object clone()
           
 double getCmd_key()
          returns value of the CMD_KEY column of this row of data
 int getHc_cmd_id()
          returns value of the HC_CMD_ID column of this row of data
 int getHc_echo_a()
          returns value of the HC_ECHO_A column of this row of data
 int getHc_echo_b()
          returns value of the HC_ECHO_B column of this row of data
 int getHc_echo_c()
          returns value of the HC_ECHO_C column of this row of data
 int getHc_echo_id()
          returns value of the HC_ECHO_ID column of this row of data
 java.lang.Double getObjCmd_key()
          returns value of the CMD_KEY column of this row of data
 java.lang.Integer getObjHc_cmd_id()
          returns value of the HC_CMD_ID column of this row of data
 java.lang.Integer getObjHc_echo_a()
          returns value of the HC_ECHO_A column of this row of data
 java.lang.Integer getObjHc_echo_b()
          returns value of the HC_ECHO_B column of this row of data
 java.lang.Integer getObjHc_echo_c()
          returns value of the HC_ECHO_C column of this row of data
 java.lang.Integer getObjHc_echo_id()
          returns value of the HC_ECHO_ID column of this row of data
 java.sql.Timestamp getObjProcessed()
          returns value of the PROCESSED column of this row of data
 java.sql.Timestamp getObjReceived()
          returns value of the RECEIVED column of this row of data
 java.sql.Timestamp getProcessed()
          returns value of the PROCESSED column of this row of data
 java.sql.Timestamp getReceived()
          returns value of the RECEIVED column of this row of data
 void load(Db db)
          load record from the DB by primary key
static Hc_echo load(java.sql.ResultSet results)
           
static Hc_echo load(java.sql.ResultSet results, Hc_echo newObj)
           
 void setCmd_key(double newVal)
          sets value of the CMD_KEY column of this row of data default value for this field set by the DB is null
 void setCmd_key(java.lang.Double newVal)
          sets value of the CMD_KEY column of this row of data default value for this field set by the DB is null
 void setHc_cmd_id(int newVal)
          sets value of the HC_CMD_ID column of this row of data default value for this field set by the DB is null
 void setHc_cmd_id(java.lang.Integer newVal)
          sets value of the HC_CMD_ID column of this row of data default value for this field set by the DB is null
 void setHc_echo_a(int newVal)
          sets value of the HC_ECHO_A column of this row of data default value for this field set by the DB is null
 void setHc_echo_a(java.lang.Integer newVal)
          sets value of the HC_ECHO_A column of this row of data default value for this field set by the DB is null
 void setHc_echo_b(int newVal)
          sets value of the HC_ECHO_B column of this row of data default value for this field set by the DB is null
 void setHc_echo_b(java.lang.Integer newVal)
          sets value of the HC_ECHO_B column of this row of data default value for this field set by the DB is null
 void setHc_echo_c(int newVal)
          sets value of the HC_ECHO_C column of this row of data default value for this field set by the DB is null
 void setHc_echo_c(java.lang.Integer newVal)
          sets value of the HC_ECHO_C column of this row of data default value for this field set by the DB is null
 void setHc_echo_id(int newVal)
          sets value of the HC_ECHO_ID column of this row of data default value for this field set by the DB is null This is the primary key for this table
 void setHc_echo_id(java.lang.Integer newVal)
          sets value of the HC_ECHO_ID column of this row of data default value for this field set by the DB is null This is the primary key for this table
 void setProcessed(java.sql.Timestamp newVal)
          sets value of the PROCESSED column of this row of data default value for this field set by the DB is null
 void setReceived(java.sql.Timestamp newVal)
          sets value of the RECEIVED column of this row of data default value for this field set by the DB is null
 void store()
          Deprecated. Should use store(Db db) to limit connections to DB
 void store(Db db)
          Store this object in the DB
 java.lang.String toString()
          Returns a String showing the values of this bean - mainly for debuging
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

display

protected static final Display display

cmd_key

protected java.lang.Double cmd_key

hc_cmd_id

protected java.lang.Integer hc_cmd_id

hc_echo_a

protected java.lang.Integer hc_echo_a

hc_echo_b

protected java.lang.Integer hc_echo_b

hc_echo_c

protected java.lang.Integer hc_echo_c

hc_echo_id

protected java.lang.Integer hc_echo_id

processed

protected java.sql.Timestamp processed

received

protected java.sql.Timestamp received

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values

GETALL

public static final java.lang.String GETALL
See Also:
Constant Field Values

CMD_KEY

public static final java.lang.String CMD_KEY
See Also:
Constant Field Values

CMD_KEY_LEN

public static final int CMD_KEY_LEN
See Also:
Constant Field Values

HC_CMD_ID

public static final java.lang.String HC_CMD_ID
See Also:
Constant Field Values

HC_CMD_ID_LEN

public static final int HC_CMD_ID_LEN
See Also:
Constant Field Values

HC_ECHO_A

public static final java.lang.String HC_ECHO_A
See Also:
Constant Field Values

HC_ECHO_A_LEN

public static final int HC_ECHO_A_LEN
See Also:
Constant Field Values

HC_ECHO_B

public static final java.lang.String HC_ECHO_B
See Also:
Constant Field Values

HC_ECHO_B_LEN

public static final int HC_ECHO_B_LEN
See Also:
Constant Field Values

HC_ECHO_C

public static final java.lang.String HC_ECHO_C
See Also:
Constant Field Values

HC_ECHO_C_LEN

public static final int HC_ECHO_C_LEN
See Also:
Constant Field Values

HC_ECHO_ID

public static final java.lang.String HC_ECHO_ID
See Also:
Constant Field Values

HC_ECHO_ID_LEN

public static final int HC_ECHO_ID_LEN
See Also:
Constant Field Values

PROCESSED

public static final java.lang.String PROCESSED
See Also:
Constant Field Values

PROCESSED_LEN

public static final int PROCESSED_LEN
See Also:
Constant Field Values

RECEIVED

public static final java.lang.String RECEIVED
See Also:
Constant Field Values

RECEIVED_LEN

public static final int RECEIVED_LEN
See Also:
Constant Field Values
Constructor Detail

Hc_echo

public Hc_echo()
Basic constructor


Hc_echo

public Hc_echo(int pk)
load record from the DB by primary key.

Method Detail

getObjCmd_key

public java.lang.Double getObjCmd_key()
returns value of the CMD_KEY column of this row of data

Returns:
value of this column in this row

getCmd_key

public double getCmd_key()
returns value of the CMD_KEY column of this row of data

Returns:
value of this column in this row

setCmd_key

public void setCmd_key(java.lang.Double newVal)
sets value of the CMD_KEY column of this row of data default value for this field set by the DB is null


setCmd_key

public void setCmd_key(double newVal)
sets value of the CMD_KEY column of this row of data default value for this field set by the DB is null


getObjHc_cmd_id

public java.lang.Integer getObjHc_cmd_id()
returns value of the HC_CMD_ID column of this row of data

Returns:
value of this column in this row

getHc_cmd_id

public int getHc_cmd_id()
returns value of the HC_CMD_ID column of this row of data

Returns:
value of this column in this row

setHc_cmd_id

public void setHc_cmd_id(java.lang.Integer newVal)
sets value of the HC_CMD_ID column of this row of data default value for this field set by the DB is null


setHc_cmd_id

public void setHc_cmd_id(int newVal)
sets value of the HC_CMD_ID column of this row of data default value for this field set by the DB is null


getObjHc_echo_a

public java.lang.Integer getObjHc_echo_a()
returns value of the HC_ECHO_A column of this row of data

Returns:
value of this column in this row

getHc_echo_a

public int getHc_echo_a()
returns value of the HC_ECHO_A column of this row of data

Returns:
value of this column in this row

setHc_echo_a

public void setHc_echo_a(java.lang.Integer newVal)
sets value of the HC_ECHO_A column of this row of data default value for this field set by the DB is null


setHc_echo_a

public void setHc_echo_a(int newVal)
sets value of the HC_ECHO_A column of this row of data default value for this field set by the DB is null


getObjHc_echo_b

public java.lang.Integer getObjHc_echo_b()
returns value of the HC_ECHO_B column of this row of data

Returns:
value of this column in this row

getHc_echo_b

public int getHc_echo_b()
returns value of the HC_ECHO_B column of this row of data

Returns:
value of this column in this row

setHc_echo_b

public void setHc_echo_b(java.lang.Integer newVal)
sets value of the HC_ECHO_B column of this row of data default value for this field set by the DB is null


setHc_echo_b

public void setHc_echo_b(int newVal)
sets value of the HC_ECHO_B column of this row of data default value for this field set by the DB is null


getObjHc_echo_c

public java.lang.Integer getObjHc_echo_c()
returns value of the HC_ECHO_C column of this row of data

Returns:
value of this column in this row

getHc_echo_c

public int getHc_echo_c()
returns value of the HC_ECHO_C column of this row of data

Returns:
value of this column in this row

setHc_echo_c

public void setHc_echo_c(java.lang.Integer newVal)
sets value of the HC_ECHO_C column of this row of data default value for this field set by the DB is null


setHc_echo_c

public void setHc_echo_c(int newVal)
sets value of the HC_ECHO_C column of this row of data default value for this field set by the DB is null


getObjHc_echo_id

public java.lang.Integer getObjHc_echo_id()
returns value of the HC_ECHO_ID column of this row of data

Returns:
value of this column in this row

getHc_echo_id

public int getHc_echo_id()
returns value of the HC_ECHO_ID column of this row of data

Returns:
value of this column in this row

setHc_echo_id

public void setHc_echo_id(java.lang.Integer newVal)
sets value of the HC_ECHO_ID column of this row of data default value for this field set by the DB is null This is the primary key for this table


setHc_echo_id

public void setHc_echo_id(int newVal)
sets value of the HC_ECHO_ID column of this row of data default value for this field set by the DB is null This is the primary key for this table


getObjProcessed

public java.sql.Timestamp getObjProcessed()
returns value of the PROCESSED column of this row of data

Returns:
value of this column in this row

getProcessed

public java.sql.Timestamp getProcessed()
returns value of the PROCESSED column of this row of data

Returns:
value of this column in this row

setProcessed

public void setProcessed(java.sql.Timestamp newVal)
sets value of the PROCESSED column of this row of data default value for this field set by the DB is null


getObjReceived

public java.sql.Timestamp getObjReceived()
returns value of the RECEIVED column of this row of data

Returns:
value of this column in this row

getReceived

public java.sql.Timestamp getReceived()
returns value of the RECEIVED column of this row of data

Returns:
value of this column in this row

setReceived

public void setReceived(java.sql.Timestamp newVal)
sets value of the RECEIVED column of this row of data default value for this field set by the DB is null


clone

public java.lang.Object clone()
Returns:
a copy of this object

load

public static Hc_echo load(java.sql.ResultSet results)
                    throws java.sql.SQLException
Returns:
an object created from the resultSet
Throws:
java.sql.SQLException

load

public static Hc_echo load(java.sql.ResultSet results,
                           Hc_echo newObj)
                    throws java.sql.SQLException
Returns:
object loaded from the resultSet. If newObj is null a new object is created otherwise newObj is returned.
Throws:
java.sql.SQLException

load

public void load(Db db)
load record from the DB by primary key

Parameters:
db -

store

public void store()
           throws java.sql.SQLException,
                  java.lang.ClassNotFoundException
Deprecated. Should use store(Db db) to limit connections to DB

Store this object in the DB

Throws:
java.sql.SQLException
java.lang.ClassNotFoundException

store

public void store(Db db)
           throws java.sql.SQLException,
                  java.lang.ClassNotFoundException
Store this object in the DB

Parameters:
db - holds connection to DB
Throws:
java.sql.SQLException
java.lang.ClassNotFoundException

toString

public java.lang.String toString()
Returns a String showing the values of this bean - mainly for debuging

Returns:
String


Copyright © 2001-2005 Round Mountain Rescue Ranch. All Rights Reserved.