|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdea.beans.Memos
Title: memos Helper
Description: Class for holding data from the memos table.
Copyright: Copyright (c) 2001-2004
Company: RMRR
Field Summary | |
protected java.lang.Integer |
a_num
|
static java.lang.String |
A_NUM
|
static int |
A_NUM_LEN
|
protected static Display |
display
|
static java.lang.String |
GETALL
|
protected java.lang.String |
memo
|
static java.lang.String |
MEMO
|
static int |
MEMO_LEN
|
protected java.lang.Integer |
o_num
|
static java.lang.String |
O_NUM
|
static int |
O_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 | |
Memos()
Basic constructor |
|
Memos(int pk)
load record from the DB by primary key. |
Method Summary | |
java.lang.Object |
clone()
|
int |
getA_num()
returns value of the A_NUM column of this row of data |
java.lang.String |
getMemo()
returns value of the MEMO column of this row of data |
int |
getO_num()
returns value of the O_NUM column of this row of data |
java.lang.Integer |
getObjA_num()
returns value of the A_NUM column of this row of data |
java.lang.String |
getObjMemo()
returns value of the MEMO column of this row of data |
java.lang.Integer |
getObjO_num()
returns value of the O_NUM column of this row of data |
void |
load(Db db)
load record from the DB by primary key |
static Memos |
load(java.sql.ResultSet results)
|
static Memos |
load(java.sql.ResultSet results,
Memos newObj)
|
void |
setA_num(int newVal)
sets value of the A_NUM column of this row of data default value for this field set by the DB is null |
void |
setA_num(java.lang.Integer newVal)
sets value of the A_NUM column of this row of data default value for this field set by the DB is null |
void |
setMemo(java.lang.String newVal)
sets value of the MEMO 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 |
setO_num(int newVal)
sets value of the O_NUM 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 |
setO_num(java.lang.Integer newVal)
sets value of the O_NUM 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 |
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 a_num
protected java.lang.String memo
protected java.lang.Integer o_num
public static final java.lang.String TABLE_NAME
public static final java.lang.String GETALL
public static final java.lang.String A_NUM
public static final int A_NUM_LEN
public static final java.lang.String MEMO
public static final int MEMO_LEN
public static final java.lang.String O_NUM
public static final int O_NUM_LEN
Constructor Detail |
public Memos()
public Memos(int pk)
Method Detail |
public java.lang.Integer getObjA_num()
public int getA_num()
public void setA_num(java.lang.Integer newVal)
public void setA_num(int newVal)
public java.lang.String getObjMemo()
public java.lang.String getMemo()
public void setMemo(java.lang.String newVal)
public java.lang.Integer getObjO_num()
public int getO_num()
public void setO_num(java.lang.Integer newVal)
public void setO_num(int newVal)
public java.lang.Object clone()
public static Memos load(java.sql.ResultSet results) throws java.sql.SQLException
java.sql.SQLException
public static Memos load(java.sql.ResultSet results, Memos 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 |