|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdea.beans.Pics
Title: pics Helper
Description: Class for holding data from the pics table.
Copyright: Copyright (c) 2001-2004
Company: RMRR
Field Summary | |
protected java.lang.Integer |
changed
|
static java.lang.String |
CHANGED
|
static int |
CHANGED_LEN
|
protected java.lang.String |
comments
|
static java.lang.String |
COMMENTS
|
static int |
COMMENTS_LEN
|
protected java.lang.Integer |
day
|
static java.lang.String |
DAY
|
static int |
DAY_LEN
|
protected java.lang.Integer |
decade
|
static java.lang.String |
DECADE
|
static int |
DECADE_LEN
|
protected java.lang.String |
descript
|
static java.lang.String |
DESCRIPT
|
static int |
DESCRIPT_LEN
|
protected static Display |
display
|
static java.lang.String |
GETALL
|
protected java.lang.Integer |
month
|
static java.lang.String |
MONTH
|
static int |
MONTH_LEN
|
protected java.lang.Integer |
pic_key
|
static java.lang.String |
PIC_KEY
|
static int |
PIC_KEY_LEN
|
protected java.lang.Integer |
publish
|
static java.lang.String |
PUBLISH
|
static int |
PUBLISH_LEN
|
protected java.lang.String |
raw
|
static java.lang.String |
RAW
|
static int |
RAW_LEN
|
protected java.lang.Integer |
rsize
|
static java.lang.String |
RSIZE
|
static int |
RSIZE_LEN
|
protected java.lang.Integer |
src
|
static java.lang.String |
SRC
|
static int |
SRC_LEN
|
static java.lang.String |
TABLE_NAME
|
protected java.lang.String |
thumb
|
static java.lang.String |
THUMB
|
static int |
THUMB_LEN
|
protected java.lang.String |
title
|
static java.lang.String |
TITLE
|
static int |
TITLE_LEN
|
protected java.sql.Timestamp |
updated
|
static java.lang.String |
UPDATED
|
static int |
UPDATED_LEN
|
protected java.lang.Integer |
usedin
|
static java.lang.String |
USEDIN
|
static int |
USEDIN_LEN
|
protected java.lang.String |
web
|
static java.lang.String |
WEB
|
static int |
WEB_LEN
|
protected java.lang.Integer |
wsize
|
static java.lang.String |
WSIZE
|
static int |
WSIZE_LEN
|
protected java.lang.Integer |
year
|
static java.lang.String |
YEAR
|
static int |
YEAR_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 | |
Pics()
Basic constructor |
|
Pics(int pk)
load record from the DB by primary key. |
Method Summary | |
java.lang.Object |
clone()
|
int |
getChanged()
returns value of the CHANGED column of this row of data |
java.lang.String |
getComments()
returns value of the COMMENTS column of this row of data |
int |
getDay()
returns value of the DAY column of this row of data |
int |
getDecade()
returns value of the DECADE column of this row of data |
java.lang.String |
getDescript()
returns value of the DESCRIPT column of this row of data |
int |
getMonth()
returns value of the MONTH column of this row of data |
java.lang.Integer |
getObjChanged()
returns value of the CHANGED column of this row of data |
java.lang.String |
getObjComments()
returns value of the COMMENTS column of this row of data |
java.lang.Integer |
getObjDay()
returns value of the DAY column of this row of data |
java.lang.Integer |
getObjDecade()
returns value of the DECADE column of this row of data |
java.lang.String |
getObjDescript()
returns value of the DESCRIPT column of this row of data |
java.lang.Integer |
getObjMonth()
returns value of the MONTH column of this row of data |
java.lang.Integer |
getObjPic_key()
returns value of the PIC_KEY column of this row of data |
java.lang.Integer |
getObjPublish()
returns value of the PUBLISH column of this row of data |
java.lang.String |
getObjRaw()
returns value of the RAW column of this row of data |
java.lang.Integer |
getObjRsize()
returns value of the RSIZE column of this row of data |
java.lang.Integer |
getObjSrc()
returns value of the SRC column of this row of data |
java.lang.String |
getObjThumb()
returns value of the THUMB column of this row of data |
java.lang.String |
getObjTitle()
returns value of the TITLE column of this row of data |
java.sql.Timestamp |
getObjUpdated()
returns value of the UPDATED column of this row of data |
java.lang.Integer |
getObjUsedin()
returns value of the USEDIN column of this row of data |
java.lang.String |
getObjWeb()
returns value of the WEB column of this row of data |
java.lang.Integer |
getObjWsize()
returns value of the WSIZE column of this row of data |
java.lang.Integer |
getObjYear()
returns value of the YEAR column of this row of data |
int |
getPic_key()
returns value of the PIC_KEY column of this row of data |
int |
getPublish()
returns value of the PUBLISH column of this row of data |
java.lang.String |
getRaw()
returns value of the RAW column of this row of data |
int |
getRsize()
returns value of the RSIZE column of this row of data |
int |
getSrc()
returns value of the SRC column of this row of data |
java.lang.String |
getThumb()
returns value of the THUMB column of this row of data |
java.lang.String |
getTitle()
returns value of the TITLE column of this row of data |
java.sql.Timestamp |
getUpdated()
returns value of the UPDATED column of this row of data |
int |
getUsedin()
returns value of the USEDIN column of this row of data |
java.lang.String |
getWeb()
returns value of the WEB column of this row of data |
int |
getWsize()
returns value of the WSIZE column of this row of data |
int |
getYear()
returns value of the YEAR column of this row of data |
void |
load(Db db)
load record from the DB by primary key |
static Pics |
load(java.sql.ResultSet results)
|
static Pics |
load(java.sql.ResultSet results,
Pics newObj)
|
void |
setChanged(int newVal)
sets value of the CHANGED column of this row of data default value for this field set by the DB is null |
void |
setChanged(java.lang.Integer newVal)
sets value of the CHANGED column of this row of data default value for this field set by the DB is null |
void |
setComments(java.lang.String newVal)
sets value of the COMMENTS 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 |
setDay(int newVal)
sets value of the DAY column of this row of data default value for this field set by the DB is null |
void |
setDay(java.lang.Integer newVal)
sets value of the DAY column of this row of data default value for this field set by the DB is null |
void |
setDecade(int newVal)
sets value of the DECADE column of this row of data default value for this field set by the DB is null |
void |
setDecade(java.lang.Integer newVal)
sets value of the DECADE column of this row of data default value for this field set by the DB is null |
void |
setDescript(java.lang.String newVal)
sets value of the DESCRIPT 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 |
setMonth(int newVal)
sets value of the MONTH column of this row of data default value for this field set by the DB is null |
void |
setMonth(java.lang.Integer newVal)
sets value of the MONTH column of this row of data default value for this field set by the DB is null |
void |
setPic_key(int newVal)
sets value of the PIC_KEY 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_key(java.lang.Integer newVal)
sets value of the PIC_KEY 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 |
setPublish(int newVal)
sets value of the PUBLISH column of this row of data default value for this field set by the DB is null |
void |
setPublish(java.lang.Integer newVal)
sets value of the PUBLISH column of this row of data default value for this field set by the DB is null |
void |
setRaw(java.lang.String newVal)
sets value of the RAW 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 |
setRsize(int newVal)
sets value of the RSIZE column of this row of data default value for this field set by the DB is null |
void |
setRsize(java.lang.Integer newVal)
sets value of the RSIZE column of this row of data default value for this field set by the DB is null |
void |
setSrc(int newVal)
sets value of the SRC column of this row of data default value for this field set by the DB is null |
void |
setSrc(java.lang.Integer newVal)
sets value of the SRC column of this row of data default value for this field set by the DB is null |
void |
setThumb(java.lang.String newVal)
sets value of the THUMB 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 |
setTitle(java.lang.String newVal)
sets value of the TITLE 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 |
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 |
setUsedin(int newVal)
sets value of the USEDIN column of this row of data default value for this field set by the DB is null |
void |
setUsedin(java.lang.Integer newVal)
sets value of the USEDIN column of this row of data default value for this field set by the DB is null |
void |
setWeb(java.lang.String newVal)
sets value of the WEB 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 |
setWsize(int newVal)
sets value of the WSIZE column of this row of data default value for this field set by the DB is null |
void |
setWsize(java.lang.Integer newVal)
sets value of the WSIZE column of this row of data default value for this field set by the DB is null |
void |
setYear(int newVal)
sets value of the YEAR column of this row of data default value for this field set by the DB is null |
void |
setYear(java.lang.Integer newVal)
sets value of the YEAR 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 changed
protected java.lang.String comments
protected java.lang.Integer day
protected java.lang.Integer decade
protected java.lang.String descript
protected java.lang.Integer month
protected java.lang.Integer pic_key
protected java.lang.Integer publish
protected java.lang.String raw
protected java.lang.Integer rsize
protected java.lang.Integer src
protected java.lang.String thumb
protected java.lang.String title
protected java.sql.Timestamp updated
protected java.lang.Integer usedin
protected java.lang.String web
protected java.lang.Integer wsize
protected java.lang.Integer year
public static final java.lang.String TABLE_NAME
public static final java.lang.String GETALL
public static final java.lang.String CHANGED
public static final int CHANGED_LEN
public static final java.lang.String COMMENTS
public static final int COMMENTS_LEN
public static final java.lang.String DAY
public static final int DAY_LEN
public static final java.lang.String DECADE
public static final int DECADE_LEN
public static final java.lang.String DESCRIPT
public static final int DESCRIPT_LEN
public static final java.lang.String MONTH
public static final int MONTH_LEN
public static final java.lang.String PIC_KEY
public static final int PIC_KEY_LEN
public static final java.lang.String PUBLISH
public static final int PUBLISH_LEN
public static final java.lang.String RAW
public static final int RAW_LEN
public static final java.lang.String RSIZE
public static final int RSIZE_LEN
public static final java.lang.String SRC
public static final int SRC_LEN
public static final java.lang.String THUMB
public static final int THUMB_LEN
public static final java.lang.String TITLE
public static final int TITLE_LEN
public static final java.lang.String UPDATED
public static final int UPDATED_LEN
public static final java.lang.String USEDIN
public static final int USEDIN_LEN
public static final java.lang.String WEB
public static final int WEB_LEN
public static final java.lang.String WSIZE
public static final int WSIZE_LEN
public static final java.lang.String YEAR
public static final int YEAR_LEN
Constructor Detail |
public Pics()
public Pics(int pk)
Method Detail |
public java.lang.Integer getObjChanged()
public int getChanged()
public void setChanged(java.lang.Integer newVal)
public void setChanged(int newVal)
public java.lang.String getObjComments()
public java.lang.String getComments()
public void setComments(java.lang.String newVal)
public java.lang.Integer getObjDay()
public int getDay()
public void setDay(java.lang.Integer newVal)
public void setDay(int newVal)
public java.lang.Integer getObjDecade()
public int getDecade()
public void setDecade(java.lang.Integer newVal)
public void setDecade(int newVal)
public java.lang.String getObjDescript()
public java.lang.String getDescript()
public void setDescript(java.lang.String newVal)
public java.lang.Integer getObjMonth()
public int getMonth()
public void setMonth(java.lang.Integer newVal)
public void setMonth(int newVal)
public java.lang.Integer getObjPic_key()
public int getPic_key()
public void setPic_key(java.lang.Integer newVal)
public void setPic_key(int newVal)
public java.lang.Integer getObjPublish()
public int getPublish()
public void setPublish(java.lang.Integer newVal)
public void setPublish(int newVal)
public java.lang.String getObjRaw()
public java.lang.String getRaw()
public void setRaw(java.lang.String newVal)
public java.lang.Integer getObjRsize()
public int getRsize()
public void setRsize(java.lang.Integer newVal)
public void setRsize(int newVal)
public java.lang.Integer getObjSrc()
public int getSrc()
public void setSrc(java.lang.Integer newVal)
public void setSrc(int newVal)
public java.lang.String getObjThumb()
public java.lang.String getThumb()
public void setThumb(java.lang.String newVal)
public java.lang.String getObjTitle()
public java.lang.String getTitle()
public void setTitle(java.lang.String newVal)
public java.sql.Timestamp getObjUpdated()
public java.sql.Timestamp getUpdated()
public void setUpdated(java.sql.Timestamp newVal)
public java.lang.Integer getObjUsedin()
public int getUsedin()
public void setUsedin(java.lang.Integer newVal)
public void setUsedin(int newVal)
public java.lang.String getObjWeb()
public java.lang.String getWeb()
public void setWeb(java.lang.String newVal)
public java.lang.Integer getObjWsize()
public int getWsize()
public void setWsize(java.lang.Integer newVal)
public void setWsize(int newVal)
public java.lang.Integer getObjYear()
public int getYear()
public void setYear(java.lang.Integer newVal)
public void setYear(int newVal)
public java.lang.Object clone()
public static Pics load(java.sql.ResultSet results) throws java.sql.SQLException
java.sql.SQLException
public static Pics load(java.sql.ResultSet results, Pics 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 |