chemaxon.checkers.result
Class AromaticityCheckerResult
java.lang.Object
chemaxon.checkers.result.DefaultStructureCheckerResult
chemaxon.checkers.result.AromaticityCheckerResult
- All Implemented Interfaces:
- StructureCheckerResult
public class AromaticityCheckerResult
- extends DefaultStructureCheckerResult
A descendant of DefaultStructureCheckerResult
for identifying aromaticity problems,
thus errorType property is StructureCheckerErrorType.AROMATICITY
- Since:
- Marvin 5.3
- Version:
- 5.7
- Author:
- Attila Szabo
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 |
AromaticityCheckerResult
public AromaticityCheckerResult(StructureChecker source,
java.util.List<MolAtom> atoms,
java.util.List<MolBond> bonds,
Molecule molecule,
java.lang.String description,
int aromataType,
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.AROMATICITY
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 problemaromataType
- is the type of the aromatization method what the checker instance used to identify the problemname
- 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
getAromataType
public int getAromataType()
- Returns the type of the aromatization
- Returns:
- the type of the aromatization
hashCode
public int hashCode()
- Overrides:
hashCode
in class DefaultStructureCheckerResult
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class DefaultStructureCheckerResult