com.dynamide.db
Class RDBValueBean

java.lang.Object
  extended by com.dynamide.db.RDBValueBean
All Implemented Interfaces:
IValueBean, IValueBeanList, IValueBeanTable

public class RDBValueBean
extends java.lang.Object
implements IValueBeanTable


Constructor Summary
RDBValueBean(java.lang.String conxStr, java.lang.String tablename, java.lang.String driver, java.lang.String dbuser, java.lang.String password)
           
 
Method Summary
 java.lang.Object cell()
           
 java.lang.Object cell(int r)
           
 java.lang.Object cell(int r, int c)
           
 void close()
           
 void finalize()
           
 int getColumnCount()
           
 java.util.Iterator getColumnNames()
           
 int getCurrentColumn()
           
 int getCurrentRow()
           
 int getDisplayFirstRowNum()
           
 int getDisplayRowCount()
           
 java.lang.String getType()
           
 java.lang.String getType(int c)
           
 void setCellValue(int r, int c, java.lang.Object value)
           
 java.lang.String toString()
           
 void update(java.util.Map values, java.lang.String conditions)
           
 java.lang.Object value()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RDBValueBean

public RDBValueBean(java.lang.String conxStr,
                    java.lang.String tablename,
                    java.lang.String driver,
                    java.lang.String dbuser,
                    java.lang.String password)
Method Detail

value

public java.lang.Object value()
Specified by:
value in interface IValueBean

cell

public java.lang.Object cell()
Specified by:
cell in interface IValueBean

cell

public java.lang.Object cell(int r)
Specified by:
cell in interface IValueBeanList

cell

public java.lang.Object cell(int r,
                             int c)
Specified by:
cell in interface IValueBeanTable

setCellValue

public void setCellValue(int r,
                         int c,
                         java.lang.Object value)
Specified by:
setCellValue in interface IValueBean

getCurrentRow

public int getCurrentRow()
Specified by:
getCurrentRow in interface IValueBeanList

getCurrentColumn

public int getCurrentColumn()
Specified by:
getCurrentColumn in interface IValueBeanTable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getType

public java.lang.String getType()
Specified by:
getType in interface IValueBean

getType

public java.lang.String getType(int c)
Specified by:
getType in interface IValueBeanTable

getDisplayRowCount

public int getDisplayRowCount()
Specified by:
getDisplayRowCount in interface IValueBeanList

getDisplayFirstRowNum

public int getDisplayFirstRowNum()
Specified by:
getDisplayFirstRowNum in interface IValueBeanList
Returns:
the zero-based index of the first visible row.

getColumnNames

public java.util.Iterator getColumnNames()
Specified by:
getColumnNames in interface IValueBeanTable

getColumnCount

public int getColumnCount()

finalize

public void finalize()
              throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

close

public void close()

update

public void update(java.util.Map values,
                   java.lang.String conditions)


Copyright © 2001-2013 DYNAMIDE.COM. All Rights Reserved.