ambit2.core.processors.structure
Class AbstractPropertyGenerator<P>
java.lang.Object
ambit2.base.processors.DefaultAmbitProcessor<ambit2.base.interfaces.IStructureRecord,ambit2.base.interfaces.IStructureRecord>
ambit2.core.processors.structure.AbstractPropertyGenerator<P>
- All Implemented Interfaces:
- ambit2.base.interfaces.IProcessor<ambit2.base.interfaces.IStructureRecord,ambit2.base.interfaces.IStructureRecord>, java.io.Serializable
public abstract class AbstractPropertyGenerator<P>
- extends ambit2.base.processors.DefaultAmbitProcessor<ambit2.base.interfaces.IStructureRecord,ambit2.base.interfaces.IStructureRecord>
Transforms IStructureRecord
into IAtomContainer
, calculates some property and assigns it to IStructureRecord
- See Also:
- Serialized Form
Fields inherited from class ambit2.base.processors.DefaultAmbitProcessor |
enabled, logger, propertyChangeSupport |
Method Summary |
protected abstract P |
generateProperty(org.openscience.cdk.interfaces.IAtomContainer atomContainer)
|
protected org.openscience.cdk.interfaces.IAtomContainer |
getAtomContainer(ambit2.base.interfaces.IStructureRecord target)
|
protected abstract ambit2.base.data.Property |
getProperty()
|
protected abstract ambit2.base.data.Property |
getTimeProperty()
|
ambit2.base.interfaces.IStructureRecord |
process(ambit2.base.interfaces.IStructureRecord target)
|
Methods inherited from class ambit2.base.processors.DefaultAmbitProcessor |
addPropertyChangeListener, addPropertyChangeListener, getID, isEnabled, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
reader
protected MoleculeReader reader
AbstractPropertyGenerator
public AbstractPropertyGenerator()
process
public ambit2.base.interfaces.IStructureRecord process(ambit2.base.interfaces.IStructureRecord target)
throws ambit2.base.exceptions.AmbitException
- Throws:
ambit2.base.exceptions.AmbitException
getProperty
protected abstract ambit2.base.data.Property getProperty()
getTimeProperty
protected abstract ambit2.base.data.Property getTimeProperty()
generateProperty
protected abstract P generateProperty(org.openscience.cdk.interfaces.IAtomContainer atomContainer)
throws ambit2.base.exceptions.AmbitException
- Throws:
ambit2.base.exceptions.AmbitException
getAtomContainer
protected org.openscience.cdk.interfaces.IAtomContainer getAtomContainer(ambit2.base.interfaces.IStructureRecord target)
throws ambit2.base.exceptions.AmbitException
- Throws:
ambit2.base.exceptions.AmbitException