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 Summary
ConstructorDescriptionSubstructureCheckerResult
(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 Summary
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
-
SubstructureCheckerResult
public 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 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 problemerrorType
- is an instance ofStructureCheckerErrorType
which identifies the problemmolecule
- is aMolecule
instance which contains the described problemdescription
- is short information about 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 dialogstheStructures
- the a two dimension integer array which represents the substructures found in the moleculeareactionSmarts
- the reactant -> product smarts
-
-
Method Details
-
getStructures
Returns the structures- Returns:
- the structures
-
getReactionSmarts
Returns the reactionSmarts- Returns:
- the reactionSmarts
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDefaultStructureCheckerResult
-
equals
- Overrides:
equals
in classDefaultStructureCheckerResult
-