|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdea.beans.Spam_replies
Title: spam_replies Helper
Description: Class for holding data from the spam_replies table.
Copyright: Copyright (c) 2001-2004
Company: RMRR
Field Summary | |
protected static Display |
display
|
protected java.lang.String |
email_addr
|
static java.lang.String |
EMAIL_ADDR
|
static int |
EMAIL_ADDR_LEN
|
protected java.lang.Integer |
email_id
|
static java.lang.String |
EMAIL_ID
|
static int |
EMAIL_ID_LEN
|
static java.lang.String |
GETALL
|
protected java.lang.String |
response
|
static java.lang.String |
RESPONSE
|
static int |
RESPONSE_LEN
|
static java.lang.String |
TABLE_NAME
|
protected java.sql.Timestamp |
updated
|
static java.lang.String |
UPDATED
|
static int |
UPDATED_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 | |
Spam_replies()
Basic constructor |
|
Spam_replies(int pk)
load record from the DB by primary key. |
Method Summary | |
java.lang.Object |
clone()
|
java.lang.String |
getEmail_addr()
returns value of the EMAIL_ADDR column of this row of data |
int |
getEmail_id()
returns value of the EMAIL_ID column of this row of data |
java.lang.String |
getObjEmail_addr()
returns value of the EMAIL_ADDR column of this row of data |
java.lang.Integer |
getObjEmail_id()
returns value of the EMAIL_ID column of this row of data |
java.lang.String |
getObjResponse()
returns value of the RESPONSE column of this row of data |
java.sql.Timestamp |
getObjUpdated()
returns value of the UPDATED column of this row of data |
java.lang.String |
getResponse()
returns value of the RESPONSE column of this row of data |
java.sql.Timestamp |
getUpdated()
returns value of the UPDATED column of this row of data |
void |
load(Db db)
load record from the DB by primary key |
static Spam_replies |
load(java.sql.ResultSet results)
|
static Spam_replies |
load(java.sql.ResultSet results,
Spam_replies newObj)
|
void |
setEmail_addr(java.lang.String newVal)
sets value of the EMAIL_ADDR 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 |
setEmail_id(int newVal)
sets value of the EMAIL_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 |
setEmail_id(java.lang.Integer newVal)
sets value of the EMAIL_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 |
setResponse(java.lang.String newVal)
sets value of the RESPONSE 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 |
setUpdated(java.sql.Timestamp newVal)
sets value of the 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 email_addr
protected java.lang.Integer email_id
protected java.lang.String response
protected java.sql.Timestamp updated
public static final java.lang.String TABLE_NAME
public static final java.lang.String GETALL
public static final java.lang.String EMAIL_ADDR
public static final int EMAIL_ADDR_LEN
public static final java.lang.String EMAIL_ID
public static final int EMAIL_ID_LEN
public static final java.lang.String RESPONSE
public static final int RESPONSE_LEN
public static final java.lang.String UPDATED
public static final int UPDATED_LEN
Constructor Detail |
public Spam_replies()
public Spam_replies(int pk)
Method Detail |
public java.lang.String getObjEmail_addr()
public java.lang.String getEmail_addr()
public void setEmail_addr(java.lang.String newVal)
public java.lang.Integer getObjEmail_id()
public int getEmail_id()
public void setEmail_id(java.lang.Integer newVal)
public void setEmail_id(int newVal)
public java.lang.String getObjResponse()
public java.lang.String getResponse()
public void setResponse(java.lang.String newVal)
public java.sql.Timestamp getObjUpdated()
public java.sql.Timestamp getUpdated()
public void setUpdated(java.sql.Timestamp newVal)
public java.lang.Object clone()
public static Spam_replies load(java.sql.ResultSet results) throws java.sql.SQLException
java.sql.SQLException
public static Spam_replies load(java.sql.ResultSet results, Spam_replies 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 |