public class PropertyImporter extends AbstractRepositoryWriter<org.openscience.cdk.interfaces.IAtomContainer,List<IStructureRecord>>
AbstractRepositoryWriter.OP
Modifier and Type | Field and Description |
---|---|
protected DatasetAddStructure |
datasetAddStruc |
protected PropertyValuesWriter |
propertyWriter |
protected AbstractStructureQuery |
query_property |
protected IStructureKey |
queryKey |
exec, operation, queryexec
Constructor and Description |
---|
PropertyImporter() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
SourceDataset |
getDataset() |
IStructureKey |
getPropertyKey() |
protected Object |
getValue(org.openscience.cdk.interfaces.IAtomContainer molecule) |
void |
open() |
void |
setConnection(Connection connection) |
void |
setDataset(SourceDataset dataset) |
void |
setPropertyKey(IStructureKey propertyKey) |
List<IStructureRecord> |
write(org.openscience.cdk.interfaces.IAtomContainer molecule) |
protected void |
writeDataset(IStructureRecord structure) |
create, delete, getOperation, prepareStatement, process, read, setOperation, transaction, update
getConnection, isCloseConnection, isEnabled, setCloseConnection
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
protected PropertyValuesWriter propertyWriter
protected IStructureKey queryKey
protected AbstractStructureQuery query_property
protected DatasetAddStructure datasetAddStruc
public IStructureKey getPropertyKey()
public void setPropertyKey(IStructureKey propertyKey)
public void setConnection(Connection connection) throws net.idea.modbcum.i.exceptions.DbAmbitException
setConnection
in interface net.idea.modbcum.i.IDBProcessor<org.openscience.cdk.interfaces.IAtomContainer,List<IStructureRecord>>
setConnection
in class AbstractRepositoryWriter<org.openscience.cdk.interfaces.IAtomContainer,List<IStructureRecord>>
net.idea.modbcum.i.exceptions.DbAmbitException
public void open() throws net.idea.modbcum.i.exceptions.DbAmbitException
open
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,List<IStructureRecord>>
open
in class AbstractRepositoryWriter<org.openscience.cdk.interfaces.IAtomContainer,List<IStructureRecord>>
net.idea.modbcum.i.exceptions.DbAmbitException
public void close() throws Exception
close
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,List<IStructureRecord>>
close
in class AbstractRepositoryWriter<org.openscience.cdk.interfaces.IAtomContainer,List<IStructureRecord>>
Exception
public void setDataset(SourceDataset dataset)
public SourceDataset getDataset()
protected Object getValue(org.openscience.cdk.interfaces.IAtomContainer molecule) throws Exception
Exception
public List<IStructureRecord> write(org.openscience.cdk.interfaces.IAtomContainer molecule) throws SQLException, OperationNotSupportedException, net.idea.modbcum.i.exceptions.AmbitException
write
in class AbstractRepositoryWriter<org.openscience.cdk.interfaces.IAtomContainer,List<IStructureRecord>>
SQLException
OperationNotSupportedException
net.idea.modbcum.i.exceptions.AmbitException
protected void writeDataset(IStructureRecord structure) throws SQLException, net.idea.modbcum.i.exceptions.AmbitException, OperationNotSupportedException
SQLException
net.idea.modbcum.i.exceptions.AmbitException
OperationNotSupportedException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.