|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mentabean.type.FloatType
public class FloatType
| Constructor Summary | |
|---|---|
FloatType()
|
|
| Method Summary | |
|---|---|
void |
bindToStmt(PreparedStatement stmt,
int index,
Float value)
Do what you have to do to bind a value to a prepared statement. |
boolean |
canBeNull()
Returns whether this type can be NULL in the database. |
String |
getAnsiType()
Return the best ANSI type for this database type. |
Float |
getFromResultSet(ResultSet rset,
int index)
Do what you have to do to get and return this database type from a result set. |
Float |
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. |
FloatType |
nullable(boolean flag)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FloatType()
| Method Detail |
|---|
public boolean canBeNull()
DBType
canBeNull in interface DBType<Float>public FloatType nullable(boolean flag)
public String getAnsiType()
DBType
getAnsiType in interface DBType<Float>public String toString()
toString in class Object
public Float getFromResultSet(ResultSet rset,
int index)
throws SQLException
DBType
getFromResultSet in interface DBType<Float>rset - The result setindex - The index in the result set
SQLException
public Float getFromResultSet(ResultSet rset,
String field)
throws SQLException
DBType
getFromResultSet in interface DBType<Float>rset - The result setfield - The name of the field in the result set
SQLExceptionpublic Class<? extends Object> getTypeClass()
DBType
getTypeClass in interface DBType<Float>
public void bindToStmt(PreparedStatement stmt,
int index,
Float value)
throws SQLException
DBType
bindToStmt in interface DBType<Float>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 | |||||||||