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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns the flag which can used to identify which hydrogens should be implicitize.int
hashCode()
Methods inherited from class chemaxon.checkers.result.DefaultStructureCheckerResult
convert, getAtoms, getBonds, getDescription, getErrorCount, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getMolecule, getName, getSource, setAtoms, setBonds, setMolecule, toString
-
Constructor Details
-
ExplicitHydrogenResult
public 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_H
by default.- Parameters:
source
- is theStructureChecker
instance which identified the problematoms
- aList
ofMolAtom
which contains the affected atoms of the problembonds
- aList
ofMolBond
which contains the affected bonds of the problemmolecule
- is aMolecule
instance which contains the described problemdescription
- is short information about the problemimplicitizeFlag
- is the used by the checker to identify which hydrogens should be implicitizedname
- is the name of the checker which found the described problemlocalMenuName
- is aString
which should be shown in the local menu of Marvin SketchhelpText
- is help message for the problemicon
- is an instance ofIcon
which will be shown in Marvin Sketch checker dialogs
-
-
Method Details
-
getImplicitizeFlag
public int getImplicitizeFlag()Returns the flag which can used to identify which hydrogens should be implicitize.- Returns:
- the implicitize flag.
-
equals
- Overrides:
equals
in classDefaultStructureCheckerResult
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDefaultStructureCheckerResult
-