public class InstrumentConfigReader extends AbstractTableModelReader<InstrumentConfiguration>
connection, recordExtractor
Constructor and Description |
---|
InstrumentConfigReader(com.almworks.sqlite4java.SQLiteConnection connection)
Instantiates a new instrument config reader.
|
Modifier and Type | Method and Description |
---|---|
protected ISQLiteRecordExtraction<InstrumentConfiguration> |
buildRecordExtractor() |
InstrumentConfiguration |
getInstrumentConfig(int id)
Gets the instrument config.
|
List<InstrumentConfiguration> |
getInstrumentConfigList() |
getRecord, getRecordList
public InstrumentConfigReader(com.almworks.sqlite4java.SQLiteConnection connection)
connection
- the connectionprotected ISQLiteRecordExtraction<InstrumentConfiguration> buildRecordExtractor()
buildRecordExtractor
in class AbstractTableModelReader<InstrumentConfiguration>
public InstrumentConfiguration getInstrumentConfig(int id) throws com.almworks.sqlite4java.SQLiteException
id
- the idcom.almworks.sqlite4java.SQLiteException
- the sQ lite exceptionpublic List<InstrumentConfiguration> getInstrumentConfigList() throws com.almworks.sqlite4java.SQLiteException
com.almworks.sqlite4java.SQLiteException
Copyright © 2019. All rights reserved.