chemaxon.checkers.result
Class ExplicitHydrogenResult
java.lang.Object
chemaxon.checkers.result.DefaultStructureCheckerResult
chemaxon.checkers.result.ExplicitHydrogenResult
- All Implemented Interfaces:
- StructureCheckerResult
public class ExplicitHydrogenResult
- extends DefaultStructureCheckerResult
A descendant of DefaultStructureCheckerResult
for identifying explicit hydrogen
problems, thus errorType property is StructureCheckerErrorType.EXPLICIT_H
by default.
- Since:
- Marvin 5.3
- Version:
- 5.4
- Author:
- Attila Szabo
Method Summary |
boolean |
equals(java.lang.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, getErrorType, getHelpText, getIcon, getLocalMenuName, getMolecule, getName, getSource, setAtoms, setBonds, setMolecule, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ExplicitHydrogenResult
public ExplicitHydrogenResult(StructureChecker source,
java.util.List<MolAtom> atoms,
java.util.List<MolBond> bonds,
Molecule molecule,
java.lang.String description,
int implicitizeFlag,
java.lang.String name,
java.lang.String localMenuName,
java.lang.String helpText,
javax.swing.Icon icon)
- Constructor which initialize all the properties. errorType property is
StructureCheckerErrorType.EXPLICIT_H
by default.
- Parameters:
source
- is the StructureChecker
instance which identified the problematoms
- a List
of MolAtom
which contains the affected atoms of the problembonds
- a List
of MolBond
which contains the affected bonds of the problemmolecule
- is a Molecule
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 a String
which should be shown in the local menu of Marvin SketchhelpText
- is help message for the problemicon
- is an instance of Icon
which will be shown in Marvin Sketch checker dialogs
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(java.lang.Object obj)
- Overrides:
equals
in class DefaultStructureCheckerResult
hashCode
public int hashCode()
- Overrides:
hashCode
in class DefaultStructureCheckerResult