public static class BooleanRepresentationFactory.BooleanBooleanRepresentation extends Object implements BooleanRepresentation<Boolean>
| Constructor and Description |
|---|
BooleanRepresentationFactory.BooleanBooleanRepresentation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(ResultSet rs,
int columnIndex)
Read the boolean from the given ResultSet
|
Boolean |
getRepresentation(boolean bool) |
void |
setBoolean(PreparedStatement stmnt,
int idx,
boolean val)
Set the boolean value into the statement
|
String |
toString() |
public BooleanRepresentationFactory.BooleanBooleanRepresentation()
public void setBoolean(PreparedStatement stmnt, int idx, boolean val) throws SQLException
BooleanRepresentationsetBoolean in interface BooleanRepresentation<Boolean>SQLExceptionpublic boolean getBoolean(ResultSet rs, int columnIndex) throws SQLException
BooleanRepresentationgetBoolean in interface BooleanRepresentation<Boolean>SQLExceptionpublic Boolean getRepresentation(boolean bool)
getRepresentation in interface BooleanRepresentation<Boolean>true and falseCopyright © 2006–2017 Apache Software Foundation. All rights reserved.