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