Package chemaxon.checkers.result
Class ExplicitHydrogenResult
- java.lang.Object
-
- chemaxon.checkers.result.DefaultStructureCheckerResult
-
- chemaxon.checkers.result.ExplicitHydrogenResult
-
- All Implemented Interfaces:
StructureCheckerResult
@PublicAPI public class ExplicitHydrogenResult extends DefaultStructureCheckerResult
A descendant ofDefaultStructureCheckerResult
for identifying explicit hydrogen problems, thus errorType property isStructureCheckerErrorType.EXPLICIT_H
by default.- Since:
- Marvin 5.3
-
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getImplicitizeFlag()
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 Detail
-
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 Detail
-
getImplicitizeFlag
public int getImplicitizeFlag()
Returns the flag which can used to identify which hydrogens should be implicitize.- Returns:
- the implicitize flag.
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classDefaultStructureCheckerResult
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDefaultStructureCheckerResult
-
-