|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdea.beans.Parms
Title: parms Helper
Description: Class for holding data from the parms table.
Copyright: Copyright (c) 2001-2004
Company: RMRR
Field Summary | |
protected java.lang.String |
decription
|
static java.lang.String |
DECRIPTION
|
static int |
DECRIPTION_LEN
|
protected static Display |
display
|
static java.lang.String |
GETALL
|
protected java.lang.String |
parm
|
static java.lang.String |
PARM
|
protected java.lang.Integer |
parm_id
|
static java.lang.String |
PARM_ID
|
static int |
PARM_ID_LEN
|
static int |
PARM_LEN
|
protected java.lang.String |
str
|
static java.lang.String |
STR
|
static int |
STR_LEN
|
static java.lang.String |
TABLE_NAME
|
protected java.lang.Integer |
val
|
static java.lang.String |
VAL
|
static int |
VAL_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 | |
Parms()
Basic constructor |
|
Parms(int pk)
load record from the DB by primary key. |
Method Summary | |
java.lang.Object |
clone()
|
java.lang.String |
getDecription()
returns value of the DECRIPTION column of this row of data |
java.lang.String |
getObjDecription()
returns value of the DECRIPTION column of this row of data |
java.lang.Integer |
getObjParm_id()
returns value of the PARM_ID column of this row of data |
java.lang.String |
getObjParm()
returns value of the PARM column of this row of data |
java.lang.String |
getObjStr()
returns value of the STR column of this row of data |
java.lang.Integer |
getObjVal()
returns value of the VAL column of this row of data |
int |
getParm_id()
returns value of the PARM_ID column of this row of data |
java.lang.String |
getParm()
returns value of the PARM column of this row of data |
java.lang.String |
getStr()
returns value of the STR column of this row of data |
int |
getVal()
returns value of the VAL column of this row of data |
void |
load(Db db)
load record from the DB by primary key |
static Parms |
load(java.sql.ResultSet results)
|
static Parms |
load(java.sql.ResultSet results,
Parms newObj)
|
void |
setDecription(java.lang.String newVal)
sets value of the DECRIPTION column of this row of data default value for this field set by the DB is null This field has a max length of 16777215, longer strings will be truncated |
void |
setParm_id(int newVal)
sets value of the PARM_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 |
setParm_id(java.lang.Integer newVal)
sets value of the PARM_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 |
setParm(java.lang.String newVal)
sets value of the PARM column of this row of data default value for this field set by the DB is null This field has a max length of 50, longer strings will be truncated |
void |
setStr(java.lang.String newVal)
sets value of the STR column of this row of data default value for this field set by the DB is null This field has a max length of 16777215, longer strings will be truncated |
void |
setVal(int newVal)
sets value of the VAL column of this row of data default value for this field set by the DB is null |
void |
setVal(java.lang.Integer newVal)
sets value of the VAL 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 decription
protected java.lang.String parm
protected java.lang.Integer parm_id
protected java.lang.String str
protected java.lang.Integer val
public static final java.lang.String TABLE_NAME
public static final java.lang.String GETALL
public static final java.lang.String DECRIPTION
public static final int DECRIPTION_LEN
public static final java.lang.String PARM
public static final int PARM_LEN
public static final java.lang.String PARM_ID
public static final int PARM_ID_LEN
public static final java.lang.String STR
public static final int STR_LEN
public static final java.lang.String VAL
public static final int VAL_LEN
Constructor Detail |
public Parms()
public Parms(int pk)
Method Detail |
public java.lang.String getObjDecription()
public java.lang.String getDecription()
public void setDecription(java.lang.String newVal)
public java.lang.String getObjParm()
public java.lang.String getParm()
public void setParm(java.lang.String newVal)
public java.lang.Integer getObjParm_id()
public int getParm_id()
public void setParm_id(java.lang.Integer newVal)
public void setParm_id(int newVal)
public java.lang.String getObjStr()
public java.lang.String getStr()
public void setStr(java.lang.String newVal)
public java.lang.Integer getObjVal()
public int getVal()
public void setVal(java.lang.Integer newVal)
public void setVal(int newVal)
public java.lang.Object clone()
public static Parms load(java.sql.ResultSet results) throws java.sql.SQLException
java.sql.SQLException
public static Parms load(java.sql.ResultSet results, Parms 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 |