|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdea.beans.Objx
Title: objx Helper
Description: Class for holding data from the objx table.
Copyright: Copyright (c) 2001-2004
Company: RMRR
Field Summary | |
protected static Display |
display
|
static java.lang.String |
GETALL
|
protected java.lang.Integer |
obj_num
|
static java.lang.String |
OBJ_NUM
|
static int |
OBJ_NUM_LEN
|
protected java.lang.Integer |
objx_id
|
static java.lang.String |
OBJX_ID
|
static int |
OBJX_ID_LEN
|
protected java.lang.Integer |
pic_num
|
static java.lang.String |
PIC_NUM
|
static int |
PIC_NUM_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 | |
Objx()
Basic constructor |
|
Objx(int pk)
load record from the DB by primary key. |
Method Summary | |
java.lang.Object |
clone()
|
int |
getObj_num()
returns value of the OBJ_NUM column of this row of data |
java.lang.Integer |
getObjObj_num()
returns value of the OBJ_NUM column of this row of data |
java.lang.Integer |
getObjObjx_id()
returns value of the OBJX_ID column of this row of data |
java.lang.Integer |
getObjPic_num()
returns value of the PIC_NUM column of this row of data |
int |
getObjx_id()
returns value of the OBJX_ID column of this row of data |
int |
getPic_num()
returns value of the PIC_NUM column of this row of data |
void |
load(Db db)
load record from the DB by primary key |
static Objx |
load(java.sql.ResultSet results)
|
static Objx |
load(java.sql.ResultSet results,
Objx newObj)
|
void |
setObj_num(int newVal)
sets value of the OBJ_NUM column of this row of data default value for this field set by the DB is null |
void |
setObj_num(java.lang.Integer newVal)
sets value of the OBJ_NUM column of this row of data default value for this field set by the DB is null |
void |
setObjx_id(int newVal)
sets value of the OBJX_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 |
setObjx_id(java.lang.Integer newVal)
sets value of the OBJX_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 |
setPic_num(int newVal)
sets value of the PIC_NUM column of this row of data default value for this field set by the DB is null |
void |
setPic_num(java.lang.Integer newVal)
sets value of the PIC_NUM 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.Integer obj_num
protected java.lang.Integer objx_id
protected java.lang.Integer pic_num
public static final java.lang.String TABLE_NAME
public static final java.lang.String GETALL
public static final java.lang.String OBJ_NUM
public static final int OBJ_NUM_LEN
public static final java.lang.String OBJX_ID
public static final int OBJX_ID_LEN
public static final java.lang.String PIC_NUM
public static final int PIC_NUM_LEN
Constructor Detail |
public Objx()
public Objx(int pk)
Method Detail |
public java.lang.Integer getObjObj_num()
public int getObj_num()
public void setObj_num(java.lang.Integer newVal)
public void setObj_num(int newVal)
public java.lang.Integer getObjObjx_id()
public int getObjx_id()
public void setObjx_id(java.lang.Integer newVal)
public void setObjx_id(int newVal)
public java.lang.Integer getObjPic_num()
public int getPic_num()
public void setPic_num(java.lang.Integer newVal)
public void setPic_num(int newVal)
public java.lang.Object clone()
public static Objx load(java.sql.ResultSet results) throws java.sql.SQLException
java.sql.SQLException
public static Objx load(java.sql.ResultSet results, Objx 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 |