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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns the type of the aromatizationint
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 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.AROMATICITY
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 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 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 Details
-
getAromataType
public int getAromataType()Returns the type of the aromatization- Returns:
- the type of the aromatization
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDefaultStructureCheckerResult
-
equals
- Overrides:
equals
in classDefaultStructureCheckerResult
-