|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdea.beans.Hc_devices
Title: hc_devices Helper
Description: Class for holding data from the hc_devices table.
Copyright: Copyright (c) 2001-2004
Company: RMRR
Field Summary | |
protected java.lang.String |
action
|
static java.lang.String |
ACTION
|
static int |
ACTION_LEN
|
protected java.lang.String |
code
|
static java.lang.String |
CODE
|
static int |
CODE_LEN
|
protected static Display |
display
|
static java.lang.String |
GETALL
|
protected java.lang.Integer |
hc_dev_id
|
static java.lang.String |
HC_DEV_ID
|
static int |
HC_DEV_ID_LEN
|
protected java.sql.Timestamp |
last_updated
|
static java.lang.String |
LAST_UPDATED
|
static int |
LAST_UPDATED_LEN
|
protected java.lang.String |
name
|
static java.lang.String |
NAME
|
static int |
NAME_LEN
|
protected java.lang.Integer |
number
|
static java.lang.String |
NUMBER
|
static int |
NUMBER_LEN
|
static java.lang.String |
TABLE_NAME
|
protected java.lang.Integer |
type
|
static java.lang.String |
TYPE
|
static int |
TYPE_LEN
|
protected java.lang.Integer |
value
|
static java.lang.String |
VALUE
|
static int |
VALUE_LEN
|
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_devices()
Basic constructor |
|
Hc_devices(int pk)
load record from the DB by primary key. |
Method Summary | |
java.lang.Object |
clone()
|
java.lang.String |
getAction()
returns value of the ACTION column of this row of data |
java.lang.String |
getCode()
returns value of the CODE column of this row of data |
int |
getHc_dev_id()
returns value of the HC_DEV_ID column of this row of data |
java.sql.Timestamp |
getLast_updated()
returns value of the LAST_UPDATED column of this row of data |
java.lang.String |
getName()
returns value of the NAME column of this row of data |
int |
getNumber()
returns value of the NUMBER column of this row of data |
java.lang.String |
getObjAction()
returns value of the ACTION column of this row of data |
java.lang.String |
getObjCode()
returns value of the CODE column of this row of data |
java.lang.Integer |
getObjHc_dev_id()
returns value of the HC_DEV_ID column of this row of data |
java.sql.Timestamp |
getObjLast_updated()
returns value of the LAST_UPDATED column of this row of data |
java.lang.String |
getObjName()
returns value of the NAME column of this row of data |
java.lang.Integer |
getObjNumber()
returns value of the NUMBER column of this row of data |
java.lang.Integer |
getObjType()
returns value of the TYPE column of this row of data |
java.lang.Integer |
getObjValue()
returns value of the VALUE column of this row of data |
int |
getType()
returns value of the TYPE column of this row of data |
int |
getValue()
returns value of the VALUE column of this row of data |
void |
load(Db db)
load record from the DB by primary key |
static Hc_devices |
load(java.sql.ResultSet results)
|
static Hc_devices |
load(java.sql.ResultSet results,
Hc_devices newObj)
|
void |
setAction(java.lang.String newVal)
sets value of the ACTION column of this row of data default value for this field set by the DB is null This field has a max length of 255, longer strings will be truncated |
void |
setCode(java.lang.String newVal)
sets value of the CODE column of this row of data default value for this field set by the DB is null This field has a max length of 1, longer strings will be truncated |
void |
setHc_dev_id(int newVal)
sets value of the HC_DEV_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_dev_id(java.lang.Integer newVal)
sets value of the HC_DEV_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 |
setLast_updated(java.sql.Timestamp newVal)
sets value of the LAST_UPDATED column of this row of data default value for this field set by the DB is null |
void |
setName(java.lang.String newVal)
sets value of the NAME column of this row of data default value for this field set by the DB is null This field has a max length of 100, longer strings will be truncated |
void |
setNumber(int newVal)
sets value of the NUMBER column of this row of data default value for this field set by the DB is null |
void |
setNumber(java.lang.Integer newVal)
sets value of the NUMBER column of this row of data default value for this field set by the DB is null |
void |
setType(int newVal)
sets value of the TYPE column of this row of data default value for this field set by the DB is null |
void |
setType(java.lang.Integer newVal)
sets value of the TYPE column of this row of data default value for this field set by the DB is null |
void |
setValue(int newVal)
sets value of the VALUE column of this row of data default value for this field set by the DB is null |
void |
setValue(java.lang.Integer newVal)
sets value of the VALUE 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 |
protected static final Display display
protected java.lang.String action
protected java.lang.String code
protected java.lang.Integer hc_dev_id
protected java.sql.Timestamp last_updated
protected java.lang.String name
protected java.lang.Integer number
protected java.lang.Integer type
protected java.lang.Integer value
public static final java.lang.String TABLE_NAME
public static final java.lang.String GETALL
public static final java.lang.String ACTION
public static final int ACTION_LEN
public static final java.lang.String CODE
public static final int CODE_LEN
public static final java.lang.String HC_DEV_ID
public static final int HC_DEV_ID_LEN
public static final java.lang.String LAST_UPDATED
public static final int LAST_UPDATED_LEN
public static final java.lang.String NAME
public static final int NAME_LEN
public static final java.lang.String NUMBER
public static final int NUMBER_LEN
public static final java.lang.String TYPE
public static final int TYPE_LEN
public static final java.lang.String VALUE
public static final int VALUE_LEN
Constructor Detail |
public Hc_devices()
public Hc_devices(int pk)
Method Detail |
public java.lang.String getObjAction()
public java.lang.String getAction()
public void setAction(java.lang.String newVal)
public java.lang.String getObjCode()
public java.lang.String getCode()
public void setCode(java.lang.String newVal)
public java.lang.Integer getObjHc_dev_id()
public int getHc_dev_id()
public void setHc_dev_id(java.lang.Integer newVal)
public void setHc_dev_id(int newVal)
public java.sql.Timestamp getObjLast_updated()
public java.sql.Timestamp getLast_updated()
public void setLast_updated(java.sql.Timestamp newVal)
public java.lang.String getObjName()
public java.lang.String getName()
public void setName(java.lang.String newVal)
public java.lang.Integer getObjNumber()
public int getNumber()
public void setNumber(java.lang.Integer newVal)
public void setNumber(int newVal)
public java.lang.Integer getObjType()
public int getType()
public void setType(java.lang.Integer newVal)
public void setType(int newVal)
public java.lang.Integer getObjValue()
public int getValue()
public void setValue(java.lang.Integer newVal)
public void setValue(int newVal)
public java.lang.Object clone()
public static Hc_devices load(java.sql.ResultSet results) throws java.sql.SQLException
java.sql.SQLException
public static Hc_devices load(java.sql.ResultSet results, Hc_devices newObj) throws java.sql.SQLException
java.sql.SQLException
public void load(Db db)
db
- public void store() throws java.sql.SQLException, java.lang.ClassNotFoundException
java.sql.SQLException
java.lang.ClassNotFoundException
public void store(Db db) throws java.sql.SQLException, java.lang.ClassNotFoundException
db
- holds connection to DB
java.sql.SQLException
java.lang.ClassNotFoundException
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |