|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdea.beans.Hc_vars
Title: hc_vars Helper
Description: Class for holding data from the hc_vars table.
Copyright: Copyright (c) 2001-2004
Company: RMRR
Field Summary | |
protected static Display |
display
|
static java.lang.String |
GETALL
|
protected java.lang.String |
hc_code
|
static java.lang.String |
HC_CODE
|
static int |
HC_CODE_LEN
|
protected java.lang.Integer |
hc_unit
|
static java.lang.String |
HC_UNIT
|
static int |
HC_UNIT_LEN
|
protected java.lang.Integer |
hc_var_id
|
static java.lang.String |
HC_VAR_ID
|
static int |
HC_VAR_ID_LEN
|
protected java.lang.Double |
hc_var_multiplier
|
static java.lang.String |
HC_VAR_MULTIPLIER
|
static int |
HC_VAR_MULTIPLIER_LEN
|
protected java.lang.String |
hc_var_name
|
static java.lang.String |
HC_VAR_NAME
|
static int |
HC_VAR_NAME_LEN
|
protected java.lang.Double |
hc_var_offset
|
static java.lang.String |
HC_VAR_OFFSET
|
static int |
HC_VAR_OFFSET_LEN
|
protected java.lang.String |
hc_var_units
|
static java.lang.String |
HC_VAR_UNITS
|
static int |
HC_VAR_UNITS_LEN
|
protected java.lang.Integer |
hc_var_value
|
static java.lang.String |
HC_VAR_VALUE
|
static int |
HC_VAR_VALUE_LEN
|
protected java.sql.Timestamp |
last_updated
|
static java.lang.String |
LAST_UPDATED
|
static int |
LAST_UPDATED_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_vars()
Basic constructor |
|
Hc_vars(int pk)
load record from the DB by primary key. |
Method Summary | |
java.lang.Object |
clone()
|
java.lang.String |
getHc_code()
returns value of the HC_CODE column of this row of data |
int |
getHc_unit()
returns value of the HC_UNIT column of this row of data |
int |
getHc_var_id()
returns value of the HC_VAR_ID column of this row of data |
double |
getHc_var_multiplier()
returns value of the HC_VAR_MULTIPLIER column of this row of data |
java.lang.String |
getHc_var_name()
returns value of the HC_VAR_NAME column of this row of data |
double |
getHc_var_offset()
returns value of the HC_VAR_OFFSET column of this row of data |
java.lang.String |
getHc_var_units()
returns value of the HC_VAR_UNITS column of this row of data |
int |
getHc_var_value()
returns value of the HC_VAR_VALUE 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 |
getObjHc_code()
returns value of the HC_CODE column of this row of data |
java.lang.Integer |
getObjHc_unit()
returns value of the HC_UNIT column of this row of data |
java.lang.Integer |
getObjHc_var_id()
returns value of the HC_VAR_ID column of this row of data |
java.lang.Double |
getObjHc_var_multiplier()
returns value of the HC_VAR_MULTIPLIER column of this row of data |
java.lang.String |
getObjHc_var_name()
returns value of the HC_VAR_NAME column of this row of data |
java.lang.Double |
getObjHc_var_offset()
returns value of the HC_VAR_OFFSET column of this row of data |
java.lang.String |
getObjHc_var_units()
returns value of the HC_VAR_UNITS column of this row of data |
java.lang.Integer |
getObjHc_var_value()
returns value of the HC_VAR_VALUE column of this row of data |
java.sql.Timestamp |
getObjLast_updated()
returns value of the LAST_UPDATED column of this row of data |
void |
load(Db db)
load record from the DB by primary key |
static Hc_vars |
load(java.sql.ResultSet results)
|
static Hc_vars |
load(java.sql.ResultSet results,
Hc_vars newObj)
|
void |
setHc_code(java.lang.String newVal)
sets value of the HC_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_unit(int newVal)
sets value of the HC_UNIT column of this row of data default value for this field set by the DB is null |
void |
setHc_unit(java.lang.Integer newVal)
sets value of the HC_UNIT column of this row of data default value for this field set by the DB is null |
void |
setHc_var_id(int newVal)
sets value of the HC_VAR_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_var_id(java.lang.Integer newVal)
sets value of the HC_VAR_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_var_multiplier(double newVal)
sets value of the HC_VAR_MULTIPLIER column of this row of data default value for this field set by the DB is null |
void |
setHc_var_multiplier(java.lang.Double newVal)
sets value of the HC_VAR_MULTIPLIER column of this row of data default value for this field set by the DB is null |
void |
setHc_var_name(java.lang.String newVal)
sets value of the HC_VAR_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 |
setHc_var_offset(double newVal)
sets value of the HC_VAR_OFFSET column of this row of data default value for this field set by the DB is null |
void |
setHc_var_offset(java.lang.Double newVal)
sets value of the HC_VAR_OFFSET column of this row of data default value for this field set by the DB is null |
void |
setHc_var_units(java.lang.String newVal)
sets value of the HC_VAR_UNITS column of this row of data default value for this field set by the DB is null This field has a max length of 20, longer strings will be truncated |
void |
setHc_var_value(int newVal)
sets value of the HC_VAR_VALUE column of this row of data default value for this field set by the DB is null |
void |
setHc_var_value(java.lang.Integer newVal)
sets value of the HC_VAR_VALUE column of this row of data default value for this field set by the DB is null |
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 |
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 hc_code
protected java.lang.Integer hc_unit
protected java.lang.Integer hc_var_id
protected java.lang.Double hc_var_multiplier
protected java.lang.String hc_var_name
protected java.lang.Double hc_var_offset
protected java.lang.String hc_var_units
protected java.lang.Integer hc_var_value
protected java.sql.Timestamp last_updated
public static final java.lang.String TABLE_NAME
public static final java.lang.String GETALL
public static final java.lang.String HC_CODE
public static final int HC_CODE_LEN
public static final java.lang.String HC_UNIT
public static final int HC_UNIT_LEN
public static final java.lang.String HC_VAR_ID
public static final int HC_VAR_ID_LEN
public static final java.lang.String HC_VAR_MULTIPLIER
public static final int HC_VAR_MULTIPLIER_LEN
public static final java.lang.String HC_VAR_NAME
public static final int HC_VAR_NAME_LEN
public static final java.lang.String HC_VAR_OFFSET
public static final int HC_VAR_OFFSET_LEN
public static final java.lang.String HC_VAR_UNITS
public static final int HC_VAR_UNITS_LEN
public static final java.lang.String HC_VAR_VALUE
public static final int HC_VAR_VALUE_LEN
public static final java.lang.String LAST_UPDATED
public static final int LAST_UPDATED_LEN
Constructor Detail |
public Hc_vars()
public Hc_vars(int pk)
Method Detail |
public java.lang.String getObjHc_code()
public java.lang.String getHc_code()
public void setHc_code(java.lang.String newVal)
public java.lang.Integer getObjHc_unit()
public int getHc_unit()
public void setHc_unit(java.lang.Integer newVal)
public void setHc_unit(int newVal)
public java.lang.Integer getObjHc_var_id()
public int getHc_var_id()
public void setHc_var_id(java.lang.Integer newVal)
public void setHc_var_id(int newVal)
public java.lang.Double getObjHc_var_multiplier()
public double getHc_var_multiplier()
public void setHc_var_multiplier(java.lang.Double newVal)
public void setHc_var_multiplier(double newVal)
public java.lang.String getObjHc_var_name()
public java.lang.String getHc_var_name()
public void setHc_var_name(java.lang.String newVal)
public java.lang.Double getObjHc_var_offset()
public double getHc_var_offset()
public void setHc_var_offset(java.lang.Double newVal)
public void setHc_var_offset(double newVal)
public java.lang.String getObjHc_var_units()
public java.lang.String getHc_var_units()
public void setHc_var_units(java.lang.String newVal)
public java.lang.Integer getObjHc_var_value()
public int getHc_var_value()
public void setHc_var_value(java.lang.Integer newVal)
public void setHc_var_value(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.Object clone()
public static Hc_vars load(java.sql.ResultSet results) throws java.sql.SQLException
java.sql.SQLException
public static Hc_vars load(java.sql.ResultSet results, Hc_vars 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 |