public class CodeDescriptionCallBack extends Object implements ResultSetRowCallBackInterface<CodeDescription>
Constructor and Description |
---|
CodeDescriptionCallBack() |
Modifier and Type | Method and Description |
---|---|
CodeDescription |
fetchColumns(ResultSetRowInterface resultSetRow)
Fetches both columns that make up a CodeDescription.
|
public CodeDescription fetchColumns(ResultSetRowInterface resultSetRow) throws SQLException
fetchColumns
in interface ResultSetRowCallBackInterface<CodeDescription>
resultSetRow
- The row that should at least contain a code in column one and a description in column two.SQLException
- When a SQL error occurs while fetching the code/description.Copyright © 2008–2018. All rights reserved.