|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdea.beans.Dvds
Title: dvds Helper
Description: Class for holding data from the dvds table.
Copyright: Copyright (c) 2001-2004
Company: RMRR
Field Summary | |
protected java.lang.String |
commnet
|
static java.lang.String |
COMMNET
|
static int |
COMMNET_LEN
|
protected static Display |
display
|
protected java.lang.String |
format
|
static java.lang.String |
FORMAT
|
static int |
FORMAT_LEN
|
static java.lang.String |
GETALL
|
protected java.lang.Integer |
id
|
static java.lang.String |
ID
|
static int |
ID_LEN
|
protected java.lang.String |
media
|
static java.lang.String |
MEDIA
|
static int |
MEDIA_LEN
|
protected java.lang.String |
pic
|
static java.lang.String |
PIC
|
static int |
PIC_LEN
|
protected java.sql.Timestamp |
recorded
|
static java.lang.String |
RECORDED
|
static int |
RECORDED_LEN
|
static java.lang.String |
TABLE_NAME
|
protected java.lang.String |
title
|
static java.lang.String |
TITLE
|
static int |
TITLE_LEN
|
protected java.lang.String |
url
|
static java.lang.String |
URL
|
static int |
URL_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 | |
Dvds()
Basic constructor |
|
Dvds(int pk)
load record from the DB by primary key. |
Method Summary | |
java.lang.Object |
clone()
|
java.lang.String |
getCommnet()
returns value of the COMMNET column of this row of data |
java.lang.String |
getFormat()
returns value of the FORMAT column of this row of data |
int |
getId()
returns value of the ID column of this row of data |
java.lang.String |
getMedia()
returns value of the MEDIA column of this row of data |
java.lang.String |
getObjCommnet()
returns value of the COMMNET column of this row of data |
java.lang.String |
getObjFormat()
returns value of the FORMAT column of this row of data |
java.lang.Integer |
getObjId()
returns value of the ID column of this row of data |
java.lang.String |
getObjMedia()
returns value of the MEDIA column of this row of data |
java.lang.String |
getObjPic()
returns value of the PIC column of this row of data |
java.sql.Timestamp |
getObjRecorded()
returns value of the RECORDED column of this row of data |
java.lang.String |
getObjTitle()
returns value of the TITLE column of this row of data |
java.lang.String |
getObjUrl()
returns value of the URL column of this row of data |
java.lang.String |
getPic()
returns value of the PIC column of this row of data |
java.sql.Timestamp |
getRecorded()
returns value of the RECORDED column of this row of data |
java.lang.String |
getTitle()
returns value of the TITLE column of this row of data |
java.lang.String |
getUrl()
returns value of the URL column of this row of data |
void |
load(Db db)
load record from the DB by primary key |
static Dvds |
load(java.sql.ResultSet results)
|
static Dvds |
load(java.sql.ResultSet results,
Dvds newObj)
|
void |
setCommnet(java.lang.String newVal)
sets value of the COMMNET 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 |
setFormat(java.lang.String newVal)
sets value of the FORMAT column of this row of data default value for this field set by the DB is null This field has a max length of 5, longer strings will be truncated |
void |
setId(int newVal)
sets value of the 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 |
setId(java.lang.Integer newVal)
sets value of the 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 |
setMedia(java.lang.String newVal)
sets value of the MEDIA column of this row of data default value for this field set by the DB is null This field has a max length of 10, longer strings will be truncated |
void |
setPic(java.lang.String newVal)
sets value of the PIC column of this row of data default value for this field set by the DB is null This field has a max length of 50, longer strings will be truncated |
void |
setRecorded(java.sql.Timestamp newVal)
sets value of the RECORDED column of this row of data default value for this field set by the DB is null |
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 255, longer strings will be truncated |
void |
setUrl(java.lang.String newVal)
sets value of the URL 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 |
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 commnet
protected java.lang.String format
protected java.lang.Integer id
protected java.lang.String media
protected java.lang.String pic
protected java.sql.Timestamp recorded
protected java.lang.String title
protected java.lang.String url
public static final java.lang.String TABLE_NAME
public static final java.lang.String GETALL
public static final java.lang.String COMMNET
public static final int COMMNET_LEN
public static final java.lang.String FORMAT
public static final int FORMAT_LEN
public static final java.lang.String ID
public static final int ID_LEN
public static final java.lang.String MEDIA
public static final int MEDIA_LEN
public static final java.lang.String PIC
public static final int PIC_LEN
public static final java.lang.String RECORDED
public static final int RECORDED_LEN
public static final java.lang.String TITLE
public static final int TITLE_LEN
public static final java.lang.String URL
public static final int URL_LEN
Constructor Detail |
public Dvds()
public Dvds(int pk)
Method Detail |
public java.lang.String getObjCommnet()
public java.lang.String getCommnet()
public void setCommnet(java.lang.String newVal)
public java.lang.String getObjFormat()
public java.lang.String getFormat()
public void setFormat(java.lang.String newVal)
public java.lang.Integer getObjId()
public int getId()
public void setId(java.lang.Integer newVal)
public void setId(int newVal)
public java.lang.String getObjMedia()
public java.lang.String getMedia()
public void setMedia(java.lang.String newVal)
public java.lang.String getObjPic()
public java.lang.String getPic()
public void setPic(java.lang.String newVal)
public java.sql.Timestamp getObjRecorded()
public java.sql.Timestamp getRecorded()
public void setRecorded(java.sql.Timestamp newVal)
public java.lang.String getObjTitle()
public java.lang.String getTitle()
public void setTitle(java.lang.String newVal)
public java.lang.String getObjUrl()
public java.lang.String getUrl()
public void setUrl(java.lang.String newVal)
public java.lang.Object clone()
public static Dvds load(java.sql.ResultSet results) throws java.sql.SQLException
java.sql.SQLException
public static Dvds load(java.sql.ResultSet results, Dvds 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 |