|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdea.beans.Dvdcompat
Title: dvdcompat Helper
Description: Class for holding data from the dvdcompat table.
Copyright: Copyright (c) 2001-2004
Company: RMRR
Field Summary | |
protected java.lang.String |
actual
|
static java.lang.String |
ACTUAL
|
static int |
ACTUAL_LEN
|
protected java.lang.Integer |
bad
|
static java.lang.String |
BAD
|
static int |
BAD_LEN
|
protected java.lang.String |
brand
|
static java.lang.String |
BRAND
|
static int |
BRAND_LEN
|
protected java.lang.Integer |
burned
|
static java.lang.String |
BURNED
|
static int |
BURNED_LEN
|
protected java.lang.String |
comment
|
static java.lang.String |
COMMENT
|
static int |
COMMENT_LEN
|
protected static Display |
display
|
protected java.lang.Integer |
dvdcompat_id
|
static java.lang.String |
DVDCOMPAT_ID
|
static int |
DVDCOMPAT_ID_LEN
|
protected java.lang.String |
format
|
static java.lang.String |
FORMAT
|
static int |
FORMAT_LEN
|
static java.lang.String |
GETALL
|
protected java.lang.String |
marked
|
static java.lang.String |
MARKED
|
static int |
MARKED_LEN
|
protected java.lang.String |
product
|
static java.lang.String |
PRODUCT
|
static int |
PRODUCT_LEN
|
protected java.lang.Integer |
purchased
|
static java.lang.String |
PURCHASED
|
static int |
PURCHASED_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 | |
Dvdcompat()
Basic constructor |
|
Dvdcompat(int pk)
load record from the DB by primary key. |
Method Summary | |
java.lang.Object |
clone()
|
java.lang.String |
getActual()
returns value of the ACTUAL column of this row of data |
int |
getBad()
returns value of the BAD column of this row of data |
java.lang.String |
getBrand()
returns value of the BRAND column of this row of data |
int |
getBurned()
returns value of the BURNED column of this row of data |
java.lang.String |
getComment()
returns value of the COMMENT column of this row of data |
int |
getDvdcompat_id()
returns value of the DVDCOMPAT_ID column of this row of data |
java.lang.String |
getFormat()
returns value of the FORMAT column of this row of data |
java.lang.String |
getMarked()
returns value of the MARKED column of this row of data |
java.lang.String |
getObjActual()
returns value of the ACTUAL column of this row of data |
java.lang.Integer |
getObjBad()
returns value of the BAD column of this row of data |
java.lang.String |
getObjBrand()
returns value of the BRAND column of this row of data |
java.lang.Integer |
getObjBurned()
returns value of the BURNED column of this row of data |
java.lang.String |
getObjComment()
returns value of the COMMENT column of this row of data |
java.lang.Integer |
getObjDvdcompat_id()
returns value of the DVDCOMPAT_ID column of this row of data |
java.lang.String |
getObjFormat()
returns value of the FORMAT column of this row of data |
java.lang.String |
getObjMarked()
returns value of the MARKED column of this row of data |
java.lang.String |
getObjProduct()
returns value of the PRODUCT column of this row of data |
java.lang.Integer |
getObjPurchased()
returns value of the PURCHASED column of this row of data |
java.lang.String |
getProduct()
returns value of the PRODUCT column of this row of data |
int |
getPurchased()
returns value of the PURCHASED column of this row of data |
void |
load(Db db)
load record from the DB by primary key |
static Dvdcompat |
load(java.sql.ResultSet results)
|
static Dvdcompat |
load(java.sql.ResultSet results,
Dvdcompat newObj)
|
void |
setActual(java.lang.String newVal)
sets value of the ACTUAL 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 |
setBad(int newVal)
sets value of the BAD column of this row of data default value for this field set by the DB is null |
void |
setBad(java.lang.Integer newVal)
sets value of the BAD column of this row of data default value for this field set by the DB is null |
void |
setBrand(java.lang.String newVal)
sets value of the BRAND column of this row of data default value for this field set by the DB is null This field has a max length of 20, longer strings will be truncated |
void |
setBurned(int newVal)
sets value of the BURNED column of this row of data default value for this field set by the DB is null |
void |
setBurned(java.lang.Integer newVal)
sets value of the BURNED column of this row of data default value for this field set by the DB is null |
void |
setComment(java.lang.String newVal)
sets value of the COMMENT 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 |
setDvdcompat_id(int newVal)
sets value of the DVDCOMPAT_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 |
setDvdcompat_id(java.lang.Integer newVal)
sets value of the DVDCOMPAT_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 |
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 6, longer strings will be truncated |
void |
setMarked(java.lang.String newVal)
sets value of the MARKED 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 |
setProduct(java.lang.String newVal)
sets value of the PRODUCT column of this row of data default value for this field set by the DB is null This field has a max length of 12, longer strings will be truncated |
void |
setPurchased(int newVal)
sets value of the PURCHASED column of this row of data default value for this field set by the DB is null |
void |
setPurchased(java.lang.Integer newVal)
sets value of the PURCHASED 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 actual
protected java.lang.Integer bad
protected java.lang.String brand
protected java.lang.Integer burned
protected java.lang.String comment
protected java.lang.Integer dvdcompat_id
protected java.lang.String format
protected java.lang.String marked
protected java.lang.String product
protected java.lang.Integer purchased
public static final java.lang.String TABLE_NAME
public static final java.lang.String GETALL
public static final java.lang.String ACTUAL
public static final int ACTUAL_LEN
public static final java.lang.String BAD
public static final int BAD_LEN
public static final java.lang.String BRAND
public static final int BRAND_LEN
public static final java.lang.String BURNED
public static final int BURNED_LEN
public static final java.lang.String COMMENT
public static final int COMMENT_LEN
public static final java.lang.String DVDCOMPAT_ID
public static final int DVDCOMPAT_ID_LEN
public static final java.lang.String FORMAT
public static final int FORMAT_LEN
public static final java.lang.String MARKED
public static final int MARKED_LEN
public static final java.lang.String PRODUCT
public static final int PRODUCT_LEN
public static final java.lang.String PURCHASED
public static final int PURCHASED_LEN
Constructor Detail |
public Dvdcompat()
public Dvdcompat(int pk)
Method Detail |
public java.lang.String getObjActual()
public java.lang.String getActual()
public void setActual(java.lang.String newVal)
public java.lang.Integer getObjBad()
public int getBad()
public void setBad(java.lang.Integer newVal)
public void setBad(int newVal)
public java.lang.String getObjBrand()
public java.lang.String getBrand()
public void setBrand(java.lang.String newVal)
public java.lang.Integer getObjBurned()
public int getBurned()
public void setBurned(java.lang.Integer newVal)
public void setBurned(int newVal)
public java.lang.String getObjComment()
public java.lang.String getComment()
public void setComment(java.lang.String newVal)
public java.lang.Integer getObjDvdcompat_id()
public int getDvdcompat_id()
public void setDvdcompat_id(java.lang.Integer newVal)
public void setDvdcompat_id(int newVal)
public java.lang.String getObjFormat()
public java.lang.String getFormat()
public void setFormat(java.lang.String newVal)
public java.lang.String getObjMarked()
public java.lang.String getMarked()
public void setMarked(java.lang.String newVal)
public java.lang.String getObjProduct()
public java.lang.String getProduct()
public void setProduct(java.lang.String newVal)
public java.lang.Integer getObjPurchased()
public int getPurchased()
public void setPurchased(java.lang.Integer newVal)
public void setPurchased(int newVal)
public java.lang.Object clone()
public static Dvdcompat load(java.sql.ResultSet results) throws java.sql.SQLException
java.sql.SQLException
public static Dvdcompat load(java.sql.ResultSet results, Dvdcompat 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 |