public class DataQueryInformation extends Object
Constructor and Description |
---|
DataQueryInformation(String query,
String noteColumn,
String idColumn)
Constructor with all fields required.
|
Modifier and Type | Method and Description |
---|---|
String |
getIdColumn()
Get the id column index, 0 based.
|
String |
getNoteColumn()
Get the note column index, 0 based.
|
String |
getQuery()
Get the query.
|
DataQueryInformation |
setIdColumn(String idColumn)
Set the id column index, 0 based.
|
DataQueryInformation |
setNoteColumn(String noteColumn)
Set the note column index, 0 based.
|
DataQueryInformation |
setQuery(String query)
Set the query.
|
public String getQuery()
public DataQueryInformation setQuery(String query)
query
- the database query, ie select id, note from my_table;public String getNoteColumn()
public DataQueryInformation setNoteColumn(String noteColumn)
noteColumn
- the note column index, 0 based.public String getIdColumn()
public DataQueryInformation setIdColumn(String idColumn)
idColumn
- column index, 0 based.Copyright © 2018 Department of Veterans Affairs. All Rights Reserved.