public class RareElementChecker extends AtomTypeChecker
AtomTypeChecker
detecting structures containing elements which
are usually rare in organic/drug molecules. The following elemts are considered common:
H, Li, Na, K, Mg, Ca, B, C, N, O, F, Cl, Br, I, Al, P, S, Cr, Mn, Fe, Co, Ni, Cu, Zn.
All other elements are considered rare.PROPERTY_KEY_TYPES, types
errorType, propertyChangeSupport
PROPERTY_KEY_VALID
Constructor and Description |
---|
RareElementChecker()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
check(Molecule molecule,
MolAtom component)
Checks if the component with index i has problem
|
getTypes, setTypes
createResult, getComponent, getComponentCount
check1, initialize
addPropertyChangeListener, addPropertyChangeListener, check, clone, cloneItem, convertResult, equals, expandMolecule, getDescription, getDescriptor, getEditorClassName, getErrorCode, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getName, hashCode, isAvailable, isLicensed, isValid, propertyChange, removePropertyChangeListener, removePropertyChangeListener, setDescription, setHelpText, setIcon, setLicenseEnvironment, setLocalMenuName, setMoreErrorMessage, setName, setNoErrorMessage, setOneErrorMessage, toString
protected boolean check(Molecule molecule, MolAtom component)
ComponentChecker
check
in class AtomTypeChecker
molecule
- is a Molecule
instancecomponent
- the current component to check