Package chemaxon.checkers.result
Class SubstructureCheckerResult
- java.lang.Object
-
- chemaxon.checkers.result.DefaultStructureCheckerResult
-
- chemaxon.checkers.result.SubstructureCheckerResult
-
- All Implemented Interfaces:
StructureCheckerResult
@PublicAPI public class SubstructureCheckerResult extends DefaultStructureCheckerResult
- Since:
- JChem 5.5, Marvin 5.6
-
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getReactionSmarts()
Returns the reactionSmartsList<int[]>
getStructures()
Returns the structuresint
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 Detail
-
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 Detail
-
getStructures
public List<int[]> getStructures()
Returns the structures- Returns:
- the structures
-
getReactionSmarts
public String getReactionSmarts()
Returns the reactionSmarts- Returns:
- the reactionSmarts
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDefaultStructureCheckerResult
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classDefaultStructureCheckerResult
-
-