dea.beans
Class Fold_info

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

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

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

Version:
1.0
Primary key is on column:FOLDID
Create statment: CREATE TABLE `fold_info` ( `foldid` int(11) NOT NULL default '0', `name` text, `path` mediumtext, `fold0` text, `fold1` text, `fold2` text, `fold3` text, `fold4` text, `fold5` text, `fold6` text, `fold7` text, `fold8` text, `fold9` text, `description` text, `parent` int(11) default NULL, `added` double default NULL, `style` int(11) default NULL, PRIMARY KEY (`foldid`) ) TYPE=MyISAM
Author:
David Abigt via GenBean
See Also:
Serialized Form

Field Summary
protected  java.lang.Double added
           
static java.lang.String ADDED
           
static int ADDED_LEN
           
protected  java.lang.String description
           
static java.lang.String DESCRIPTION
           
static int DESCRIPTION_LEN
           
protected static Display display
           
protected  java.lang.String fold0
           
static java.lang.String FOLD0
           
static int FOLD0_LEN
           
protected  java.lang.String fold1
           
static java.lang.String FOLD1
           
static int FOLD1_LEN
           
protected  java.lang.String fold2
           
static java.lang.String FOLD2
           
static int FOLD2_LEN
           
protected  java.lang.String fold3
           
static java.lang.String FOLD3
           
static int FOLD3_LEN
           
protected  java.lang.String fold4
           
static java.lang.String FOLD4
           
static int FOLD4_LEN
           
protected  java.lang.String fold5
           
static java.lang.String FOLD5
           
static int FOLD5_LEN
           
protected  java.lang.String fold6
           
static java.lang.String FOLD6
           
static int FOLD6_LEN
           
protected  java.lang.String fold7
           
static java.lang.String FOLD7
           
static int FOLD7_LEN
           
protected  java.lang.String fold8
           
static java.lang.String FOLD8
           
static int FOLD8_LEN
           
protected  java.lang.String fold9
           
static java.lang.String FOLD9
           
static int FOLD9_LEN
           
protected  java.lang.Integer foldid
           
static java.lang.String FOLDID
           
static int FOLDID_LEN
           
static java.lang.String GETALL
           
protected  java.lang.String name
           
static java.lang.String NAME
           
static int NAME_LEN
           
protected  java.lang.Integer parent
           
static java.lang.String PARENT
           
static int PARENT_LEN
           
protected  java.lang.String path
           
static java.lang.String PATH
           
static int PATH_LEN
           
protected  java.lang.Integer style
           
static java.lang.String STYLE
           
static int STYLE_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
Fold_info()
          Basic constructor
Fold_info(int pk)
          load record from the DB by primary key.
 
Method Summary
 java.lang.Object clone()
           
 double getAdded()
          returns value of the ADDED column of this row of data
 java.lang.String getDescription()
          returns value of the DESCRIPTION column of this row of data
 java.lang.String getFold0()
          returns value of the FOLD0 column of this row of data
 java.lang.String getFold1()
          returns value of the FOLD1 column of this row of data
 java.lang.String getFold2()
          returns value of the FOLD2 column of this row of data
 java.lang.String getFold3()
          returns value of the FOLD3 column of this row of data
 java.lang.String getFold4()
          returns value of the FOLD4 column of this row of data
 java.lang.String getFold5()
          returns value of the FOLD5 column of this row of data
 java.lang.String getFold6()
          returns value of the FOLD6 column of this row of data
 java.lang.String getFold7()
          returns value of the FOLD7 column of this row of data
 java.lang.String getFold8()
          returns value of the FOLD8 column of this row of data
 java.lang.String getFold9()
          returns value of the FOLD9 column of this row of data
 int getFoldid()
          returns value of the FOLDID column of this row of data
 java.lang.String getName()
          returns value of the NAME column of this row of data
 java.lang.Double getObjAdded()
          returns value of the ADDED column of this row of data
 java.lang.String getObjDescription()
          returns value of the DESCRIPTION column of this row of data
 java.lang.String getObjFold0()
          returns value of the FOLD0 column of this row of data
 java.lang.String getObjFold1()
          returns value of the FOLD1 column of this row of data
 java.lang.String getObjFold2()
          returns value of the FOLD2 column of this row of data
 java.lang.String getObjFold3()
          returns value of the FOLD3 column of this row of data
 java.lang.String getObjFold4()
          returns value of the FOLD4 column of this row of data
 java.lang.String getObjFold5()
          returns value of the FOLD5 column of this row of data
 java.lang.String getObjFold6()
          returns value of the FOLD6 column of this row of data
 java.lang.String getObjFold7()
          returns value of the FOLD7 column of this row of data
 java.lang.String getObjFold8()
          returns value of the FOLD8 column of this row of data
 java.lang.String getObjFold9()
          returns value of the FOLD9 column of this row of data
 java.lang.Integer getObjFoldid()
          returns value of the FOLDID column of this row of data
 java.lang.String getObjName()
          returns value of the NAME column of this row of data
 java.lang.Integer getObjParent()
          returns value of the PARENT column of this row of data
 java.lang.String getObjPath()
          returns value of the PATH column of this row of data
 java.lang.Integer getObjStyle()
          returns value of the STYLE column of this row of data
 int getParent()
          returns value of the PARENT column of this row of data
 java.lang.String getPath()
          returns value of the PATH column of this row of data
 int getStyle()
          returns value of the STYLE column of this row of data
 void load(Db db)
          load record from the DB by primary key
static Fold_info load(java.sql.ResultSet results)
           
static Fold_info load(java.sql.ResultSet results, Fold_info newObj)
           
 void setAdded(double newVal)
          sets value of the ADDED column of this row of data default value for this field set by the DB is null
 void setAdded(java.lang.Double newVal)
          sets value of the ADDED column of this row of data default value for this field set by the DB is null
 void setDescription(java.lang.String newVal)
          sets value of the DESCRIPTION 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 setFold0(java.lang.String newVal)
          sets value of the FOLD0 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 setFold1(java.lang.String newVal)
          sets value of the FOLD1 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 setFold2(java.lang.String newVal)
          sets value of the FOLD2 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 setFold3(java.lang.String newVal)
          sets value of the FOLD3 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 setFold4(java.lang.String newVal)
          sets value of the FOLD4 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 setFold5(java.lang.String newVal)
          sets value of the FOLD5 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 setFold6(java.lang.String newVal)
          sets value of the FOLD6 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 setFold7(java.lang.String newVal)
          sets value of the FOLD7 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 setFold8(java.lang.String newVal)
          sets value of the FOLD8 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 setFold9(java.lang.String newVal)
          sets value of the FOLD9 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 setFoldid(int newVal)
          sets value of the FOLDID 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 setFoldid(java.lang.Integer newVal)
          sets value of the FOLDID 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 setName(java.lang.String newVal)
          sets value of the NAME 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 setParent(int newVal)
          sets value of the PARENT column of this row of data default value for this field set by the DB is null
 void setParent(java.lang.Integer newVal)
          sets value of the PARENT column of this row of data default value for this field set by the DB is null
 void setPath(java.lang.String newVal)
          sets value of the PATH 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 setStyle(int newVal)
          sets value of the STYLE column of this row of data default value for this field set by the DB is null
 void setStyle(java.lang.Integer newVal)
          sets value of the STYLE 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

display

protected static final Display display

added

protected java.lang.Double added

description

protected java.lang.String description

fold0

protected java.lang.String fold0

fold1

protected java.lang.String fold1

fold2

protected java.lang.String fold2

fold3

protected java.lang.String fold3

fold4

protected java.lang.String fold4

fold5

protected java.lang.String fold5

fold6

protected java.lang.String fold6

fold7

protected java.lang.String fold7

fold8

protected java.lang.String fold8

fold9

protected java.lang.String fold9

foldid

protected java.lang.Integer foldid

name

protected java.lang.String name

parent

protected java.lang.Integer parent

path

protected java.lang.String path

style

protected java.lang.Integer style

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

ADDED

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

ADDED_LEN

public static final int ADDED_LEN
See Also:
Constant Field Values

DESCRIPTION

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

DESCRIPTION_LEN

public static final int DESCRIPTION_LEN
See Also:
Constant Field Values

FOLD0

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

FOLD0_LEN

public static final int FOLD0_LEN
See Also:
Constant Field Values

FOLD1

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

FOLD1_LEN

public static final int FOLD1_LEN
See Also:
Constant Field Values

FOLD2

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

FOLD2_LEN

public static final int FOLD2_LEN
See Also:
Constant Field Values

FOLD3

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

FOLD3_LEN

public static final int FOLD3_LEN
See Also:
Constant Field Values

FOLD4

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

FOLD4_LEN

public static final int FOLD4_LEN
See Also:
Constant Field Values

FOLD5

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

FOLD5_LEN

public static final int FOLD5_LEN
See Also:
Constant Field Values

FOLD6

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

FOLD6_LEN

public static final int FOLD6_LEN
See Also:
Constant Field Values

FOLD7

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

FOLD7_LEN

public static final int FOLD7_LEN
See Also:
Constant Field Values

FOLD8

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

FOLD8_LEN

public static final int FOLD8_LEN
See Also:
Constant Field Values

FOLD9

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

FOLD9_LEN

public static final int FOLD9_LEN
See Also:
Constant Field Values

FOLDID

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

FOLDID_LEN

public static final int FOLDID_LEN
See Also:
Constant Field Values

NAME

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

NAME_LEN

public static final int NAME_LEN
See Also:
Constant Field Values

PARENT

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

PARENT_LEN

public static final int PARENT_LEN
See Also:
Constant Field Values

PATH

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

PATH_LEN

public static final int PATH_LEN
See Also:
Constant Field Values

STYLE

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

STYLE_LEN

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

Fold_info

public Fold_info()
Basic constructor


Fold_info

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

Method Detail

getObjAdded

public java.lang.Double getObjAdded()
returns value of the ADDED column of this row of data

Returns:
value of this column in this row

getAdded

public double getAdded()
returns value of the ADDED column of this row of data

Returns:
value of this column in this row

setAdded

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


setAdded

public void setAdded(double newVal)
sets value of the ADDED column of this row of data default value for this field set by the DB is null


getObjDescription

public java.lang.String getObjDescription()
returns value of the DESCRIPTION column of this row of data

Returns:
value of this column in this row

getDescription

public java.lang.String getDescription()
returns value of the DESCRIPTION column of this row of data

Returns:
value of this column in this row

setDescription

public void setDescription(java.lang.String newVal)
sets value of the DESCRIPTION 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


getObjFold0

public java.lang.String getObjFold0()
returns value of the FOLD0 column of this row of data

Returns:
value of this column in this row

getFold0

public java.lang.String getFold0()
returns value of the FOLD0 column of this row of data

Returns:
value of this column in this row

setFold0

public void setFold0(java.lang.String newVal)
sets value of the FOLD0 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


getObjFold1

public java.lang.String getObjFold1()
returns value of the FOLD1 column of this row of data

Returns:
value of this column in this row

getFold1

public java.lang.String getFold1()
returns value of the FOLD1 column of this row of data

Returns:
value of this column in this row

setFold1

public void setFold1(java.lang.String newVal)
sets value of the FOLD1 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


getObjFold2

public java.lang.String getObjFold2()
returns value of the FOLD2 column of this row of data

Returns:
value of this column in this row

getFold2

public java.lang.String getFold2()
returns value of the FOLD2 column of this row of data

Returns:
value of this column in this row

setFold2

public void setFold2(java.lang.String newVal)
sets value of the FOLD2 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


getObjFold3

public java.lang.String getObjFold3()
returns value of the FOLD3 column of this row of data

Returns:
value of this column in this row

getFold3

public java.lang.String getFold3()
returns value of the FOLD3 column of this row of data

Returns:
value of this column in this row

setFold3

public void setFold3(java.lang.String newVal)
sets value of the FOLD3 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


getObjFold4

public java.lang.String getObjFold4()
returns value of the FOLD4 column of this row of data

Returns:
value of this column in this row

getFold4

public java.lang.String getFold4()
returns value of the FOLD4 column of this row of data

Returns:
value of this column in this row

setFold4

public void setFold4(java.lang.String newVal)
sets value of the FOLD4 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


getObjFold5

public java.lang.String getObjFold5()
returns value of the FOLD5 column of this row of data

Returns:
value of this column in this row

getFold5

public java.lang.String getFold5()
returns value of the FOLD5 column of this row of data

Returns:
value of this column in this row

setFold5

public void setFold5(java.lang.String newVal)
sets value of the FOLD5 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


getObjFold6

public java.lang.String getObjFold6()
returns value of the FOLD6 column of this row of data

Returns:
value of this column in this row

getFold6

public java.lang.String getFold6()
returns value of the FOLD6 column of this row of data

Returns:
value of this column in this row

setFold6

public void setFold6(java.lang.String newVal)
sets value of the FOLD6 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


getObjFold7

public java.lang.String getObjFold7()
returns value of the FOLD7 column of this row of data

Returns:
value of this column in this row

getFold7

public java.lang.String getFold7()
returns value of the FOLD7 column of this row of data

Returns:
value of this column in this row

setFold7

public void setFold7(java.lang.String newVal)
sets value of the FOLD7 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


getObjFold8

public java.lang.String getObjFold8()
returns value of the FOLD8 column of this row of data

Returns:
value of this column in this row

getFold8

public java.lang.String getFold8()
returns value of the FOLD8 column of this row of data

Returns:
value of this column in this row

setFold8

public void setFold8(java.lang.String newVal)
sets value of the FOLD8 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


getObjFold9

public java.lang.String getObjFold9()
returns value of the FOLD9 column of this row of data

Returns:
value of this column in this row

getFold9

public java.lang.String getFold9()
returns value of the FOLD9 column of this row of data

Returns:
value of this column in this row

setFold9

public void setFold9(java.lang.String newVal)
sets value of the FOLD9 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


getObjFoldid

public java.lang.Integer getObjFoldid()
returns value of the FOLDID column of this row of data

Returns:
value of this column in this row

getFoldid

public int getFoldid()
returns value of the FOLDID column of this row of data

Returns:
value of this column in this row

setFoldid

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


setFoldid

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


getObjName

public java.lang.String getObjName()
returns value of the NAME column of this row of data

Returns:
value of this column in this row

getName

public java.lang.String getName()
returns value of the NAME column of this row of data

Returns:
value of this column in this row

setName

public void setName(java.lang.String newVal)
sets value of the NAME 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


getObjParent

public java.lang.Integer getObjParent()
returns value of the PARENT column of this row of data

Returns:
value of this column in this row

getParent

public int getParent()
returns value of the PARENT column of this row of data

Returns:
value of this column in this row

setParent

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


setParent

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


getObjPath

public java.lang.String getObjPath()
returns value of the PATH column of this row of data

Returns:
value of this column in this row

getPath

public java.lang.String getPath()
returns value of the PATH column of this row of data

Returns:
value of this column in this row

setPath

public void setPath(java.lang.String newVal)
sets value of the PATH 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


getObjStyle

public java.lang.Integer getObjStyle()
returns value of the STYLE column of this row of data

Returns:
value of this column in this row

getStyle

public int getStyle()
returns value of the STYLE column of this row of data

Returns:
value of this column in this row

setStyle

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


setStyle

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


clone

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

load

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

load

public static Fold_info load(java.sql.ResultSet results,
                             Fold_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.