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