Package chemaxon.checkers
Class MissingRGroupChecker
java.lang.Object
chemaxon.checkers.AbstractStructureChecker
chemaxon.checkers.MissingRGroupChecker
- All Implemented Interfaces:
StructureChecker,chemaxon.license.Licensable,PropertyChangeListener,Cloneable,EventListener
A descendant of
AbstractStructureChecker detecting missing R-group
definition errors.- Since:
- Marvin 5.10
-
Field Summary
Fields inherited from class chemaxon.checkers.AbstractStructureChecker
errorType, propertyChangeSupportFields inherited from interface chemaxon.checkers.StructureChecker
PROPERTY_KEY_VALID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StructureCheckerResultThis method contains the current checking mechanism.protected voidconvertResult(Molecule originalMolecule, Molecule expandedMolecule, StructureCheckerResult result, Map<MolAtom, MolAtom> atomMap, Map<MolBond, MolBond> bondMap) This implementation does nothing.protected MoleculeThis implementation does nothing.Methods inherited from class chemaxon.checkers.AbstractStructureChecker
addPropertyChangeListener, addPropertyChangeListener, check, clone, cloneItem, equals, 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
-
MissingRGroupChecker
public MissingRGroupChecker()Initializes the checker
-
-
Method Details
-
check1
Description copied from class:AbstractStructureCheckerThis method contains the current checking mechanism.- Specified by:
check1in classAbstractStructureChecker- Parameters:
molecule- theMoleculeinstance to be checked for problems- Returns:
- a
StructureCheckerResultwhich represents the problem or null if no problem found
-
convertResult
protected void convertResult(Molecule originalMolecule, Molecule expandedMolecule, StructureCheckerResult result, Map<MolAtom, MolAtom> atomMap, Map<MolBond, MolBond> bondMap) This implementation does nothing.- Overrides:
convertResultin classAbstractStructureChecker- Parameters:
originalMolecule- the original moleculeexpandedMolecule- the cloned then expanded moleculeresult- the structure checker result on cloned moleculeatomMap- the mapping of cloned molecule and original molecule atomsbondMap- the mapping of cloned molecule and original molecule bonds
-
expandMolecule
protected Molecule expandMolecule(Molecule molecule, Map<MolAtom, MolAtom> atomMap, Map<MolBond, MolBond> bondMap) This implementation does nothing.- Overrides:
expandMoleculein classAbstractStructureChecker- Parameters:
molecule- the molecule to check- Returns:
- the molecule
-