public abstract class AbstractStructureProcessor extends Object implements net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
Modifier and Type | Field and Description |
---|---|
protected static String |
at_property |
protected static String |
at_property_added |
protected static String |
at_property_removed |
protected boolean |
atomtypeasproperties |
protected boolean |
enabled |
protected Logger |
logger |
protected boolean |
sparseproperties |
Constructor and Description |
---|
AbstractStructureProcessor(Logger logger) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
applicable(org.openscience.cdk.interfaces.IAtom atom)
Used as criteria whether to assign atom types as properties e.g.
|
static org.openscience.cdk.interfaces.IAtomContainer |
atomtypes2properties_init(org.openscience.cdk.interfaces.IAtomContainer mol) |
static org.openscience.cdk.interfaces.IAtomContainer |
atomtypes2properties(org.openscience.cdk.interfaces.IAtomContainer mol) |
org.openscience.cdk.interfaces.IAtomContainer |
atomtypes2property(org.openscience.cdk.interfaces.IAtomContainer mol,
Object compareWith,
boolean sparseProperties) |
org.openscience.cdk.interfaces.IAtomContainer |
atomtypes2property(String property,
org.openscience.cdk.interfaces.IAtomContainer mol,
Object compareWith,
boolean sparseProperties) |
void |
close() |
long |
getID() |
boolean |
isAtomtypeasproperties() |
boolean |
isEnabled() |
boolean |
isSparseproperties() |
void |
open() |
void |
setAtomtypeasproperties(boolean atomtypeasproperties)
Assign atomtypes as atomcontainer properties
|
void |
setEnabled(boolean value) |
void |
setSparseproperties(boolean sparseproperties)
if true assigns empty properties
|
protected transient Logger logger
protected static final String at_property
protected static final String at_property_added
protected static final String at_property_removed
protected boolean sparseproperties
protected boolean atomtypeasproperties
protected boolean enabled
public AbstractStructureProcessor(Logger logger)
public boolean isSparseproperties()
public void setSparseproperties(boolean sparseproperties)
sparseproperties
- public boolean isAtomtypeasproperties()
public void setAtomtypeasproperties(boolean atomtypeasproperties)
atomtypeasproperties
- public boolean isEnabled()
isEnabled
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
public void setEnabled(boolean value)
setEnabled
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
public long getID()
getID
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
public void close() throws Exception
close
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
Exception
public void open() throws Exception
open
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
Exception
public org.openscience.cdk.interfaces.IAtomContainer atomtypes2property(org.openscience.cdk.interfaces.IAtomContainer mol, Object compareWith, boolean sparseProperties) throws Exception
Exception
protected boolean applicable(org.openscience.cdk.interfaces.IAtom atom)
atom
- public org.openscience.cdk.interfaces.IAtomContainer atomtypes2property(String property, org.openscience.cdk.interfaces.IAtomContainer mol, Object compareWith, boolean sparseProperties) throws Exception
Exception
public static org.openscience.cdk.interfaces.IAtomContainer atomtypes2properties(org.openscience.cdk.interfaces.IAtomContainer mol) throws Exception
Exception
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.