public abstract class ValuesByTemplateReader<Result> extends net.idea.modbcum.p.AbstractDBProcessor<IStructureRecord,Result>
Modifier and Type | Field and Description |
---|---|
protected QueryExecutor |
executorn |
protected QueryExecutor |
executort |
protected RetrieveField |
names |
protected net.idea.modbcum.i.IQueryRetrieval<Property> |
propertyQuery |
Constructor and Description |
---|
ValuesByTemplateReader() |
Modifier and Type | Method and Description |
---|---|
protected abstract Result |
createResult(IStructureRecord target) |
net.idea.modbcum.i.IQueryRetrieval<Property> |
getPropertyQuery() |
void |
open() |
Result |
process(IStructureRecord target) |
protected abstract void |
set(Result result,
Property fieldname,
Object value) |
void |
setConnection(Connection connection) |
void |
setPropertyQuery(net.idea.modbcum.i.IQueryRetrieval<Property> propertyQuery) |
close, getConnection, isCloseConnection, isEnabled, setCloseConnection
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
protected net.idea.modbcum.i.IQueryRetrieval<Property> propertyQuery
protected RetrieveField names
protected QueryExecutor executort
protected QueryExecutor executorn
public net.idea.modbcum.i.IQueryRetrieval<Property> getPropertyQuery()
public void setPropertyQuery(net.idea.modbcum.i.IQueryRetrieval<Property> propertyQuery)
public void setConnection(Connection connection) throws net.idea.modbcum.i.exceptions.DbAmbitException
setConnection
in interface net.idea.modbcum.i.IDBProcessor<IStructureRecord,Result>
setConnection
in class net.idea.modbcum.p.AbstractDBProcessor<IStructureRecord,Result>
net.idea.modbcum.i.exceptions.DbAmbitException
public Result process(IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected abstract Result createResult(IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected abstract void set(Result result, Property fieldname, Object value) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public void open() throws net.idea.modbcum.i.exceptions.DbAmbitException
open
in interface net.idea.modbcum.i.processors.IProcessor<IStructureRecord,Result>
open
in class net.idea.modbcum.p.DefaultAmbitProcessor<IStructureRecord,Result>
net.idea.modbcum.i.exceptions.DbAmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.