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
ConstructorsConstructorDescriptionSubstructureCheckerResult(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 theStructureCheckerinstance which identified the problematoms- aListofMolAtomwhich contains the affected atoms of the problembonds- aListofMolBondwhich contains the affected bonds of the problemerrorType- is an instance ofStructureCheckerErrorTypewhich identifies the problemmolecule- is aMoleculeinstance which contains the described problemdescription- is short information about 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 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:
hashCodein classDefaultStructureCheckerResult
-
equals
- Overrides:
equalsin classDefaultStructureCheckerResult
-