|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdea.beans.Msg_info
Title: msg_info Helper
Description: Class for holding data from the msg_info table.
Copyright: Copyright (c) 2001-2004
Company: RMRR
Field Summary | |
protected java.lang.String |
abuse_contact
|
static java.lang.String |
ABUSE_CONTACT
|
static int |
ABUSE_CONTACT_LEN
|
protected static Display |
display
|
static java.lang.String |
GETALL
|
protected java.lang.String |
messageid
|
static java.lang.String |
MESSAGEID
|
static int |
MESSAGEID_LEN
|
protected java.lang.Integer |
msg_id
|
static java.lang.String |
MSG_ID
|
static int |
MSG_ID_LEN
|
protected java.lang.String |
msg_number
|
static java.lang.String |
MSG_NUMBER
|
static int |
MSG_NUMBER_LEN
|
protected java.sql.Timestamp |
msg_sent
|
static java.lang.String |
MSG_SENT
|
static int |
MSG_SENT_LEN
|
protected java.lang.String |
msg_type
|
static java.lang.String |
MSG_TYPE
|
static int |
MSG_TYPE_LEN
|
protected java.lang.String |
scan_type
|
static java.lang.String |
SCAN_TYPE
|
static int |
SCAN_TYPE_LEN
|
protected java.lang.Long |
spam_batch
|
static java.lang.String |
SPAM_BATCH
|
static int |
SPAM_BATCH_LEN
|
protected java.lang.String |
spam_from
|
static java.lang.String |
SPAM_FROM
|
static int |
SPAM_FROM_LEN
|
protected java.lang.String |
spam_ip
|
static java.lang.String |
SPAM_IP
|
static int |
SPAM_IP_LEN
|
protected java.lang.String |
spam_source
|
static java.lang.String |
SPAM_SOURCE
|
static int |
SPAM_SOURCE_LEN
|
protected java.lang.String |
spam_to
|
static java.lang.String |
SPAM_TO
|
static int |
SPAM_TO_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 | |
Msg_info()
Basic constructor |
|
Msg_info(int pk)
load record from the DB by primary key. |
Method Summary | |
java.lang.Object |
clone()
|
java.lang.String |
getAbuse_contact()
returns value of the ABUSE_CONTACT column of this row of data |
java.lang.String |
getMessageid()
returns value of the MESSAGEID column of this row of data |
int |
getMsg_id()
returns value of the MSG_ID column of this row of data |
java.lang.String |
getMsg_number()
returns value of the MSG_NUMBER column of this row of data |
java.sql.Timestamp |
getMsg_sent()
returns value of the MSG_SENT column of this row of data |
java.lang.String |
getMsg_type()
returns value of the MSG_TYPE column of this row of data |
java.lang.String |
getObjAbuse_contact()
returns value of the ABUSE_CONTACT column of this row of data |
java.lang.String |
getObjMessageid()
returns value of the MESSAGEID column of this row of data |
java.lang.Integer |
getObjMsg_id()
returns value of the MSG_ID column of this row of data |
java.lang.String |
getObjMsg_number()
returns value of the MSG_NUMBER column of this row of data |
java.sql.Timestamp |
getObjMsg_sent()
returns value of the MSG_SENT column of this row of data |
java.lang.String |
getObjMsg_type()
returns value of the MSG_TYPE column of this row of data |
java.lang.String |
getObjScan_type()
returns value of the SCAN_TYPE column of this row of data |
java.lang.Long |
getObjSpam_batch()
returns value of the SPAM_BATCH column of this row of data |
java.lang.String |
getObjSpam_from()
returns value of the SPAM_FROM column of this row of data |
java.lang.String |
getObjSpam_ip()
returns value of the SPAM_IP column of this row of data |
java.lang.String |
getObjSpam_source()
returns value of the SPAM_SOURCE column of this row of data |
java.lang.String |
getObjSpam_to()
returns value of the SPAM_TO column of this row of data |
java.lang.String |
getScan_type()
returns value of the SCAN_TYPE column of this row of data |
long |
getSpam_batch()
returns value of the SPAM_BATCH column of this row of data |
java.lang.String |
getSpam_from()
returns value of the SPAM_FROM column of this row of data |
java.lang.String |
getSpam_ip()
returns value of the SPAM_IP column of this row of data |
java.lang.String |
getSpam_source()
returns value of the SPAM_SOURCE column of this row of data |
java.lang.String |
getSpam_to()
returns value of the SPAM_TO column of this row of data |
void |
load(Db db)
load record from the DB by primary key |
static Msg_info |
load(java.sql.ResultSet results)
|
static Msg_info |
load(java.sql.ResultSet results,
Msg_info newObj)
|
void |
setAbuse_contact(java.lang.String newVal)
sets value of the ABUSE_CONTACT 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 |
setMessageid(java.lang.String newVal)
sets value of the MESSAGEID 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 |
setMsg_id(int newVal)
sets value of the MSG_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 |
setMsg_id(java.lang.Integer newVal)
sets value of the MSG_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 |
setMsg_number(java.lang.String newVal)
sets value of the MSG_NUMBER 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 |
setMsg_sent(java.sql.Timestamp newVal)
sets value of the MSG_SENT column of this row of data default value for this field set by the DB is null |
void |
setMsg_type(java.lang.String newVal)
sets value of the MSG_TYPE 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 |
setScan_type(java.lang.String newVal)
sets value of the SCAN_TYPE column of this row of data default value for this field set by the DB is null This field has a max length of 3, longer strings will be truncated |
void |
setSpam_batch(long newVal)
sets value of the SPAM_BATCH column of this row of data default value for this field set by the DB is null |
void |
setSpam_batch(java.lang.Long newVal)
sets value of the SPAM_BATCH column of this row of data default value for this field set by the DB is null |
void |
setSpam_from(java.lang.String newVal)
sets value of the SPAM_FROM 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 |
setSpam_ip(java.lang.String newVal)
sets value of the SPAM_IP column of this row of data default value for this field set by the DB is null This field has a max length of 15, longer strings will be truncated |
void |
setSpam_source(java.lang.String newVal)
sets value of the SPAM_SOURCE 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 |
setSpam_to(java.lang.String newVal)
sets value of the SPAM_TO 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 |
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 abuse_contact
protected java.lang.String messageid
protected java.lang.Integer msg_id
protected java.lang.String msg_number
protected java.sql.Timestamp msg_sent
protected java.lang.String msg_type
protected java.lang.String scan_type
protected java.lang.Long spam_batch
protected java.lang.String spam_from
protected java.lang.String spam_ip
protected java.lang.String spam_source
protected java.lang.String spam_to
public static final java.lang.String TABLE_NAME
public static final java.lang.String GETALL
public static final java.lang.String ABUSE_CONTACT
public static final int ABUSE_CONTACT_LEN
public static final java.lang.String MESSAGEID
public static final int MESSAGEID_LEN
public static final java.lang.String MSG_ID
public static final int MSG_ID_LEN
public static final java.lang.String MSG_NUMBER
public static final int MSG_NUMBER_LEN
public static final java.lang.String MSG_SENT
public static final int MSG_SENT_LEN
public static final java.lang.String MSG_TYPE
public static final int MSG_TYPE_LEN
public static final java.lang.String SCAN_TYPE
public static final int SCAN_TYPE_LEN
public static final java.lang.String SPAM_BATCH
public static final int SPAM_BATCH_LEN
public static final java.lang.String SPAM_FROM
public static final int SPAM_FROM_LEN
public static final java.lang.String SPAM_IP
public static final int SPAM_IP_LEN
public static final java.lang.String SPAM_SOURCE
public static final int SPAM_SOURCE_LEN
public static final java.lang.String SPAM_TO
public static final int SPAM_TO_LEN
Constructor Detail |
public Msg_info()
public Msg_info(int pk)
Method Detail |
public java.lang.String getObjAbuse_contact()
public java.lang.String getAbuse_contact()
public void setAbuse_contact(java.lang.String newVal)
public java.lang.String getObjMessageid()
public java.lang.String getMessageid()
public void setMessageid(java.lang.String newVal)
public java.lang.Integer getObjMsg_id()
public int getMsg_id()
public void setMsg_id(java.lang.Integer newVal)
public void setMsg_id(int newVal)
public java.lang.String getObjMsg_number()
public java.lang.String getMsg_number()
public void setMsg_number(java.lang.String newVal)
public java.sql.Timestamp getObjMsg_sent()
public java.sql.Timestamp getMsg_sent()
public void setMsg_sent(java.sql.Timestamp newVal)
public java.lang.String getObjMsg_type()
public java.lang.String getMsg_type()
public void setMsg_type(java.lang.String newVal)
public java.lang.String getObjScan_type()
public java.lang.String getScan_type()
public void setScan_type(java.lang.String newVal)
public java.lang.Long getObjSpam_batch()
public long getSpam_batch()
public void setSpam_batch(java.lang.Long newVal)
public void setSpam_batch(long newVal)
public java.lang.String getObjSpam_from()
public java.lang.String getSpam_from()
public void setSpam_from(java.lang.String newVal)
public java.lang.String getObjSpam_ip()
public java.lang.String getSpam_ip()
public void setSpam_ip(java.lang.String newVal)
public java.lang.String getObjSpam_source()
public java.lang.String getSpam_source()
public void setSpam_source(java.lang.String newVal)
public java.lang.String getObjSpam_to()
public java.lang.String getSpam_to()
public void setSpam_to(java.lang.String newVal)
public java.lang.Object clone()
public static Msg_info load(java.sql.ResultSet results) throws java.sql.SQLException
java.sql.SQLException
public static Msg_info load(java.sql.ResultSet results, Msg_info 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 |