org.mentawai.bean.type
Class BooleanIntType

java.lang.Object
  extended by org.mentawai.bean.type.BooleanIntType
All Implemented Interfaces:
DBType

public class BooleanIntType
extends java.lang.Object
implements DBType


Constructor Summary
BooleanIntType()
           
 
Method Summary
 void bindToStmt(java.sql.PreparedStatement stmt, int index, java.lang.Object value)
           
 java.lang.Object getFromResultSet(java.sql.ResultSet rset, int index)
           
 java.lang.Object getFromResultSet(java.sql.ResultSet rset, java.lang.String field)
           
 java.lang.Class<? extends java.lang.Object> getTypeClass()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanIntType

public BooleanIntType()
Method Detail

toString

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

getFromResultSet

public java.lang.Object getFromResultSet(java.sql.ResultSet rset,
                                         int index)
                                  throws java.sql.SQLException
Specified by:
getFromResultSet in interface DBType
Throws:
java.sql.SQLException

getFromResultSet

public java.lang.Object getFromResultSet(java.sql.ResultSet rset,
                                         java.lang.String field)
                                  throws java.sql.SQLException
Specified by:
getFromResultSet in interface DBType
Throws:
java.sql.SQLException

getTypeClass

public java.lang.Class<? extends java.lang.Object> getTypeClass()
Specified by:
getTypeClass in interface DBType

bindToStmt

public void bindToStmt(java.sql.PreparedStatement stmt,
                       int index,
                       java.lang.Object value)
                throws java.sql.SQLException
Specified by:
bindToStmt in interface DBType
Throws:
java.sql.SQLException


Copyright © 2005 Mentawai Team. All Rights Reserved.