Package chemaxon.checkers.result
Class AromaticityCheckerResult
java.lang.Object
chemaxon.checkers.result.DefaultStructureCheckerResult
chemaxon.checkers.result.AromaticityCheckerResult
- All Implemented Interfaces:
StructureCheckerResult
A descendant of
DefaultStructureCheckerResult for identifying aromaticity problems,
thus errorType property is StructureCheckerErrorType.AROMATICITY- Since:
- Marvin 5.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintReturns the type of the aromatizationinthashCode()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
-
AromaticityCheckerResult
public AromaticityCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, Molecule molecule, String description, int aromataType, String name, String localMenuName, String helpText, Icon icon) Constructor which initialize all the properties. errorType property isStructureCheckerErrorType.AROMATICITYby default.- Parameters:
source- is theStructureCheckerinstance which identified the problematoms- aListofMolAtomwhich contains the affected atoms of the problembonds- aListofMolBondwhich contains the affected bonds of the problemmolecule- is aMoleculeinstance 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 aStringwhich should be shown in the local menu of Marvin SketchhelpText- is help message for the problemicon- is an instance ofIconwhich will be shown in Marvin Sketch checker dialogs
-
-
Method Details
-
getAromataType
public int getAromataType()Returns the type of the aromatization- Returns:
- the type of the aromatization
-
hashCode
public int hashCode()- Overrides:
hashCodein classDefaultStructureCheckerResult
-
equals
- Overrides:
equalsin classDefaultStructureCheckerResult
-