public static class BooleanRepresentationFactory.BooleanBooleanRepresentation extends Object implements BooleanRepresentation<Boolean>
Constructor and Description |
---|
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 void setBoolean(PreparedStatement stmnt, int idx, boolean val) throws SQLException
BooleanRepresentation
setBoolean
in interface BooleanRepresentation<Boolean>
SQLException
public boolean getBoolean(ResultSet rs, int columnIndex) throws SQLException
BooleanRepresentation
getBoolean
in interface BooleanRepresentation<Boolean>
SQLException
public Boolean getRepresentation(boolean bool)
getRepresentation
in interface BooleanRepresentation<Boolean>
true
and false
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.