|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mentabean.type.BooleanStringType
public class BooleanStringType
| Constructor Summary | |
|---|---|
BooleanStringType()
|
|
BooleanStringType(String sTrue,
String sFalse)
|
|
| Method Summary | |
|---|---|
void |
bindToStmt(PreparedStatement stmt,
int index,
Boolean value)
Do what you have to do to bind a value to a prepared statement. |
boolean |
equals(Object obj)
|
protected boolean |
getBooleanValue(String s)
|
Boolean |
getFromResultSet(ResultSet rset,
int index)
Do what you have to do to get and return this database type from a result set. |
Boolean |
getFromResultSet(ResultSet rset,
String field)
Do what you have to do to get and return this database type from a result set. |
Class<? extends Object> |
getTypeClass()
Return the java type representing this database type. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BooleanStringType()
public BooleanStringType(String sTrue,
String sFalse)
| Method Detail |
|---|
public boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
protected boolean getBooleanValue(String s)
throws SQLException
SQLException
public Boolean getFromResultSet(ResultSet rset,
int index)
throws SQLException
DBType
getFromResultSet in interface DBType<Boolean>rset - The result setindex - The index in the result set
SQLException
public Boolean getFromResultSet(ResultSet rset,
String field)
throws SQLException
DBType
getFromResultSet in interface DBType<Boolean>rset - The result setfield - The name of the field in the result set
SQLExceptionpublic Class<? extends Object> getTypeClass()
DBType
getTypeClass in interface DBType<Boolean>
public void bindToStmt(PreparedStatement stmt,
int index,
Boolean value)
throws SQLException
DBType
bindToStmt in interface DBType<Boolean>stmt - The prepared statementindex - The index in the prepared statementvalue - The value to be bound to the prepared statement
SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||