public class ResultSetSection extends Object
Sections allow automatic retrieval of columns in the order of their configuration.
| Constructor and Description |
|---|
ResultSetSection(ResultSetWrapper rs,
Object key)
Creates a section.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configureColumn(String name)
Configures a column for automatic retrieval.
|
Object |
getKey()
Gets the key of this section.
|
int |
nextColumnIndex()
Gets the next column index.
|
void |
resetColumnIndex()
Clears the column index.
|
public ResultSetSection(ResultSetWrapper rs, Object key)
rs - the result setkey - the key unique with all sections of the resultset (usually a class variable)public Object getKey()
public void configureColumn(String name)
name - the column namepublic void resetColumnIndex()
public int nextColumnIndex()
Copyright © 2016 Krake Softwaretechnik. All rights reserved.