Package chemaxon.checkers
Class RareElementChecker
java.lang.Object
chemaxon.checkers.AbstractStructureChecker
chemaxon.checkers.ComponentChecker<MolAtom>
chemaxon.checkers.AtomChecker
chemaxon.checkers.AtomTypeChecker
chemaxon.checkers.RareElementChecker
- All Implemented Interfaces:
StructureChecker
,chemaxon.license.Licensable
,PropertyChangeListener
,Cloneable
,EventListener
A descendant of
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.- Since:
- Marvin 5.4
-
Field Summary
Fields inherited from class chemaxon.checkers.AtomTypeChecker
PROPERTY_KEY_TYPES, types
Fields inherited from class chemaxon.checkers.AbstractStructureChecker
errorType, propertyChangeSupport
Fields inherited from interface chemaxon.checkers.StructureChecker
PROPERTY_KEY_VALID
-
Constructor Summary
-
Method Summary
Methods inherited from class chemaxon.checkers.AtomTypeChecker
getTypes, setTypes
Methods inherited from class chemaxon.checkers.AtomChecker
createResult, getComponent, getComponentCount
Methods inherited from class chemaxon.checkers.ComponentChecker
check1, initialize
Methods inherited from class chemaxon.checkers.AbstractStructureChecker
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
-
Constructor Details
-
RareElementChecker
public RareElementChecker()Default constructor
-
-
Method Details
-
check
Description copied from class:ComponentChecker
Checks if the component with index i has problem- Overrides:
check
in classAtomTypeChecker
- Parameters:
molecule
- is aMolecule
instancecomponent
- the current component to check- Returns:
- true if the component has problem, false otherwise
-