Package chemaxon.checkers.result
Class SubstructureCheckerResult
java.lang.Object
chemaxon.checkers.result.DefaultStructureCheckerResult
chemaxon.checkers.result.SubstructureCheckerResult
- All Implemented Interfaces:
- StructureCheckerResult
- Since:
- JChem 5.5, Marvin 5.6
- 
Constructor SummaryConstructorsConstructorDescriptionSubstructureCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, StructureCheckerErrorType errorType, Molecule molecule, String description, String name, String localMenuName, String helpText, Icon icon, List<int[]> theStructures, String areactionSmarts) Constructor which initialize all the properties.
- 
Method SummaryMethods inherited from class chemaxon.checkers.result.DefaultStructureCheckerResultconvert, getAtoms, getBonds, getDescription, getErrorCount, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getMolecule, getName, getSource, setAtoms, setBonds, setMolecule, toString
- 
Constructor Details- 
SubstructureCheckerResultpublic SubstructureCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, StructureCheckerErrorType errorType, Molecule molecule, String description, String name, String localMenuName, String helpText, Icon icon, List<int[]> theStructures, String areactionSmarts) Constructor which initialize all the properties.- Parameters:
- source- is the- StructureCheckerinstance which identified the problem
- atoms- a- Listof- MolAtomwhich contains the affected atoms of the problem
- bonds- a- Listof- MolBondwhich contains the affected bonds of the problem
- errorType- is an instance of- StructureCheckerErrorTypewhich identifies the problem
- molecule- is a- Moleculeinstance which contains the described problem
- description- is short information about the problem
- name- is the name of the checker which found the described problem
- localMenuName- is a- Stringwhich should be shown in the local menu of Marvin Sketch
- helpText- is help message for the problem
- icon- is an instance of- Iconwhich will be shown in Marvin Sketch checker dialogs
- theStructures- the a two dimension integer array which represents the substructures found in the molecule
- areactionSmarts- the reactant -> product smarts
 
 
- 
- 
Method Details- 
getStructuresReturns the structures- Returns:
- the structures
 
- 
getReactionSmartsReturns the reactionSmarts- Returns:
- the reactionSmarts
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- DefaultStructureCheckerResult
 
- 
equals- Overrides:
- equalsin class- DefaultStructureCheckerResult
 
 
-