public abstract class AbstractPropertyGenerator<P> extends net.idea.modbcum.p.DefaultAmbitProcessor<IStructureRecord,IStructureRecord>
IStructureRecord into IAtomContainer , calculates
some property and assigns it to IStructureRecord| Modifier and Type | Field and Description |
|---|---|
protected MoleculeReader |
reader |
| Constructor and Description |
|---|
AbstractPropertyGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected abstract P |
generateProperty(org.openscience.cdk.interfaces.IAtomContainer atomContainer) |
protected org.openscience.cdk.interfaces.IAtomContainer |
getAtomContainer(IStructureRecord target) |
protected abstract Property |
getProperty() |
protected abstract Property |
getTimeProperty() |
void |
open() |
IStructureRecord |
process(IStructureRecord target) |
protected MoleculeReader reader
public IStructureRecord process(IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitExceptionprotected abstract Property getProperty()
protected abstract Property getTimeProperty()
protected abstract P generateProperty(org.openscience.cdk.interfaces.IAtomContainer atomContainer) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitExceptionprotected org.openscience.cdk.interfaces.IAtomContainer getAtomContainer(IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitExceptionpublic void open()
throws Exception
open in interface net.idea.modbcum.i.processors.IProcessor<IStructureRecord,IStructureRecord>open in class net.idea.modbcum.p.DefaultAmbitProcessor<IStructureRecord,IStructureRecord>Exceptionpublic void close()
throws Exception
close in interface net.idea.modbcum.i.processors.IProcessor<IStructureRecord,IStructureRecord>close in class net.idea.modbcum.p.DefaultAmbitProcessor<IStructureRecord,IStructureRecord>ExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.