public class SubstructureCheckerResult extends DefaultStructureCheckerResult
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getReactionSmarts()
Returns the reactionSmarts
|
List<int[]> |
getStructures()
Returns the structures
|
int |
hashCode() |
convert, getAtoms, getBonds, getDescription, getErrorCount, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getMolecule, getName, getSource, setAtoms, setBonds, setMolecule, toString
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)
source
- is the StructureChecker
instance which identified the problematoms
- a List
of MolAtom
which contains the affected atoms of the problembonds
- a List
of MolBond
which contains the affected bonds of the problemerrorType
- is an instance of StructureCheckerErrorType
which identifies the problemmolecule
- is a Molecule
instance which contains the described problemdescription
- is short information about the problemname
- is the name of the checker which found the described problemlocalMenuName
- is a String
which should be shown in the local menu of Marvin SketchhelpText
- is help message for the problemicon
- is an instance of Icon
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 smartspublic List<int[]> getStructures()
public String getReactionSmarts()
public int hashCode()
hashCode
in class DefaultStructureCheckerResult
public boolean equals(Object obj)
equals
in class DefaultStructureCheckerResult