public class ExplicitHydrogenResult extends DefaultStructureCheckerResult
DefaultStructureCheckerResult
for identifying explicit hydrogen
problems, thus errorType property is StructureCheckerErrorType.EXPLICIT_H
by default.Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getImplicitizeFlag()
Returns the flag which can used to identify which hydrogens should be implicitize.
|
int |
hashCode() |
convert, getAtoms, getBonds, getDescription, getErrorCount, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getMolecule, getName, getSource, setAtoms, setBonds, setMolecule, toString
public ExplicitHydrogenResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, Molecule molecule, String description, int implicitizeFlag, String name, String localMenuName, String helpText, Icon icon)
StructureCheckerErrorType.EXPLICIT_H
by default.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 dialogspublic int getImplicitizeFlag()
public boolean equals(Object obj)
equals
in class DefaultStructureCheckerResult
public int hashCode()
hashCode
in class DefaultStructureCheckerResult