Package chemaxon.checkers.result
Class ExplicitHydrogenResult
java.lang.Object
chemaxon.checkers.result.DefaultStructureCheckerResult
chemaxon.checkers.result.ExplicitHydrogenResult
- All Implemented Interfaces:
- StructureCheckerResult
A descendant of 
DefaultStructureCheckerResult for identifying explicit hydrogen
 problems, thus errorType property is StructureCheckerErrorType.EXPLICIT_H by default.- Since:
- Marvin 5.3
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanintReturns the flag which can used to identify which hydrogens should be implicitize.inthashCode()Methods inherited from class chemaxon.checkers.result.DefaultStructureCheckerResultconvert, getAtoms, getBonds, getDescription, getErrorCount, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getMolecule, getName, getSource, setAtoms, setBonds, setMolecule, toString
- 
Constructor Details- 
ExplicitHydrogenResultpublic ExplicitHydrogenResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, Molecule molecule, String description, int implicitizeFlag, String name, String localMenuName, String helpText, Icon icon) Constructor which initialize all the properties. errorType property isStructureCheckerErrorType.EXPLICIT_Hby default.- Parameters:
- source- is the- StructureCheckerinstance which identified the problem
- atoms- a- Listof- MolAtomwhich contains the affected atoms of the problem
- bonds- a- Listof- MolBondwhich contains the affected bonds of the problem
- molecule- is a- Moleculeinstance which contains the described problem
- description- is short information about the problem
- implicitizeFlag- is the used by the checker to identify which hydrogens should be implicitized
- name- is the name of the checker which found the described problem
- localMenuName- is a- Stringwhich should be shown in the local menu of Marvin Sketch
- helpText- is help message for the problem
- icon- is an instance of- Iconwhich will be shown in Marvin Sketch checker dialogs
 
 
- 
- 
Method Details- 
getImplicitizeFlagpublic int getImplicitizeFlag()Returns the flag which can used to identify which hydrogens should be implicitize.- Returns:
- the implicitize flag.
 
- 
equals- Overrides:
- equalsin class- DefaultStructureCheckerResult
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- DefaultStructureCheckerResult
 
 
-