dea.beans
Class Entry_info

java.lang.Object
  extended bydea.beans.Entry_info
All Implemented Interfaces:
IDebugLevels, java.io.Serializable

public class Entry_info
extends java.lang.Object
implements java.io.Serializable, IDebugLevels

Title: entry_info Helper
Description: Class for holding data from the entry_info table.
Copyright: Copyright (c) 2001-2004
Company: RMRR

Version:
1.0
Primary key is on column:ENTRY_ID
Create statment: CREATE TABLE `entry_info` ( `entry_id` int(11) NOT NULL default '0', `folder_id` int(11) default NULL, `link_id` int(11) default NULL, `fold_url` int(11) default NULL, `sortby` text, PRIMARY KEY (`entry_id`) ) TYPE=MyISAM
Author:
David Abigt via GenBean
See Also:
Serialized Form

Field Summary
protected static Display display
           
protected  java.lang.Integer entry_id
           
static java.lang.String ENTRY_ID
           
static int ENTRY_ID_LEN
           
protected  java.lang.Integer fold_url
           
static java.lang.String FOLD_URL
           
static int FOLD_URL_LEN
           
protected  java.lang.Integer folder_id
           
static java.lang.String FOLDER_ID
           
static int FOLDER_ID_LEN
           
static java.lang.String GETALL
           
protected  java.lang.Integer link_id
           
static java.lang.String LINK_ID
           
static int LINK_ID_LEN
           
protected  java.lang.String sortby
           
static java.lang.String SORTBY
           
static int SORTBY_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
Entry_info()
          Basic constructor
Entry_info(int pk)
          load record from the DB by primary key.
 
Method Summary
 java.lang.Object clone()
           
 int getEntry_id()
          returns value of the ENTRY_ID column of this row of data
 int getFold_url()
          returns value of the FOLD_URL column of this row of data
 int getFolder_id()
          returns value of the FOLDER_ID column of this row of data
 int getLink_id()
          returns value of the LINK_ID column of this row of data
 java.lang.Integer getObjEntry_id()
          returns value of the ENTRY_ID column of this row of data
 java.lang.Integer getObjFold_url()
          returns value of the FOLD_URL column of this row of data
 java.lang.Integer getObjFolder_id()
          returns value of the FOLDER_ID column of this row of data
 java.lang.Integer getObjLink_id()
          returns value of the LINK_ID column of this row of data
 java.lang.String getObjSortby()
          returns value of the SORTBY column of this row of data
 java.lang.String getSortby()
          returns value of the SORTBY column of this row of data
 void load(Db db)
          load record from the DB by primary key
static Entry_info load(java.sql.ResultSet results)
           
static Entry_info load(java.sql.ResultSet results, Entry_info newObj)
           
 void setEntry_id(int newVal)
          sets value of the ENTRY_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 setEntry_id(java.lang.Integer newVal)
          sets value of the ENTRY_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 setFold_url(int newVal)
          sets value of the FOLD_URL column of this row of data default value for this field set by the DB is null
 void setFold_url(java.lang.Integer newVal)
          sets value of the FOLD_URL column of this row of data default value for this field set by the DB is null
 void setFolder_id(int newVal)
          sets value of the FOLDER_ID column of this row of data default value for this field set by the DB is null
 void setFolder_id(java.lang.Integer newVal)
          sets value of the FOLDER_ID column of this row of data default value for this field set by the DB is null
 void setLink_id(int newVal)
          sets value of the LINK_ID column of this row of data default value for this field set by the DB is null
 void setLink_id(java.lang.Integer newVal)
          sets value of the LINK_ID column of this row of data default value for this field set by the DB is null
 void setSortby(java.lang.String newVal)
          sets value of the SORTBY column of this row of data default value for this field set by the DB is null This field has a max length of 65535, 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

display

protected static final Display display

entry_id

protected java.lang.Integer entry_id

fold_url

protected java.lang.Integer fold_url

folder_id

protected java.lang.Integer folder_id

link_id

protected java.lang.Integer link_id

sortby

protected java.lang.String sortby

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values

GETALL

public static final java.lang.String GETALL
See Also:
Constant Field Values

ENTRY_ID

public static final java.lang.String ENTRY_ID
See Also:
Constant Field Values

ENTRY_ID_LEN

public static final int ENTRY_ID_LEN
See Also:
Constant Field Values

FOLD_URL

public static final java.lang.String FOLD_URL
See Also:
Constant Field Values

FOLD_URL_LEN

public static final int FOLD_URL_LEN
See Also:
Constant Field Values

FOLDER_ID

public static final java.lang.String FOLDER_ID
See Also:
Constant Field Values

FOLDER_ID_LEN

public static final int FOLDER_ID_LEN
See Also:
Constant Field Values

LINK_ID

public static final java.lang.String LINK_ID
See Also:
Constant Field Values

LINK_ID_LEN

public static final int LINK_ID_LEN
See Also:
Constant Field Values

SORTBY

public static final java.lang.String SORTBY
See Also:
Constant Field Values

SORTBY_LEN

public static final int SORTBY_LEN
See Also:
Constant Field Values
Constructor Detail

Entry_info

public Entry_info()
Basic constructor


Entry_info

public Entry_info(int pk)
load record from the DB by primary key.

Method Detail

getObjEntry_id

public java.lang.Integer getObjEntry_id()
returns value of the ENTRY_ID column of this row of data

Returns:
value of this column in this row

getEntry_id

public int getEntry_id()
returns value of the ENTRY_ID column of this row of data

Returns:
value of this column in this row

setEntry_id

public void setEntry_id(java.lang.Integer newVal)
sets value of the ENTRY_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


setEntry_id

public void setEntry_id(int newVal)
sets value of the ENTRY_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


getObjFold_url

public java.lang.Integer getObjFold_url()
returns value of the FOLD_URL column of this row of data

Returns:
value of this column in this row

getFold_url

public int getFold_url()
returns value of the FOLD_URL column of this row of data

Returns:
value of this column in this row

setFold_url

public void setFold_url(java.lang.Integer newVal)
sets value of the FOLD_URL column of this row of data default value for this field set by the DB is null


setFold_url

public void setFold_url(int newVal)
sets value of the FOLD_URL column of this row of data default value for this field set by the DB is null


getObjFolder_id

public java.lang.Integer getObjFolder_id()
returns value of the FOLDER_ID column of this row of data

Returns:
value of this column in this row

getFolder_id

public int getFolder_id()
returns value of the FOLDER_ID column of this row of data

Returns:
value of this column in this row

setFolder_id

public void setFolder_id(java.lang.Integer newVal)
sets value of the FOLDER_ID column of this row of data default value for this field set by the DB is null


setFolder_id

public void setFolder_id(int newVal)
sets value of the FOLDER_ID column of this row of data default value for this field set by the DB is null


getObjLink_id

public java.lang.Integer getObjLink_id()
returns value of the LINK_ID column of this row of data

Returns:
value of this column in this row

getLink_id

public int getLink_id()
returns value of the LINK_ID column of this row of data

Returns:
value of this column in this row

setLink_id

public void setLink_id(java.lang.Integer newVal)
sets value of the LINK_ID column of this row of data default value for this field set by the DB is null


setLink_id

public void setLink_id(int newVal)
sets value of the LINK_ID column of this row of data default value for this field set by the DB is null


getObjSortby

public java.lang.String getObjSortby()
returns value of the SORTBY column of this row of data

Returns:
value of this column in this row

getSortby

public java.lang.String getSortby()
returns value of the SORTBY column of this row of data

Returns:
value of this column in this row

setSortby

public void setSortby(java.lang.String newVal)
sets value of the SORTBY column of this row of data default value for this field set by the DB is null This field has a max length of 65535, longer strings will be truncated


clone

public java.lang.Object clone()
Returns:
a copy of this object

load

public static Entry_info load(java.sql.ResultSet results)
                       throws java.sql.SQLException
Returns:
an object created from the resultSet
Throws:
java.sql.SQLException

load

public static Entry_info load(java.sql.ResultSet results,
                              Entry_info newObj)
                       throws java.sql.SQLException
Returns:
object loaded from the resultSet. If newObj is null a new object is created otherwise newObj is returned.
Throws:
java.sql.SQLException

load

public void load(Db db)
load record from the DB by primary key

Parameters:
db -

store

public void store()
           throws java.sql.SQLException,
                  java.lang.ClassNotFoundException
Deprecated. Should use store(Db db) to limit connections to DB

Store this object in the DB

Throws:
java.sql.SQLException
java.lang.ClassNotFoundException

store

public void store(Db db)
           throws java.sql.SQLException,
                  java.lang.ClassNotFoundException
Store this object in the DB

Parameters:
db - holds connection to DB
Throws:
java.sql.SQLException
java.lang.ClassNotFoundException

toString

public java.lang.String toString()
Returns a String showing the values of this bean - mainly for debuging

Returns:
String


Copyright © 2001-2005 Round Mountain Rescue Ranch. All Rights Reserved.