use of org.nextprot.commons.statements.StatementBuilder in project nextprot-api by calipho-sib.
the class StatementMapper method mapRow.
public Statement mapRow(ResultSet rs, int rowNum) throws SQLException {
StatementBuilder sfbuilder = StatementBuilder.createNew();
for (StatementField key : StatementField.values()) {
String value = rs.getString(key.name());
sfbuilder.addField(key, value);
}
return sfbuilder.build();
}
Aggregations