public class RgroupCheckerResult extends DefaultStructureCheckerResult
DefaultStructureCheckerResult providing information
of R-group issues.| Constructor and Description |
|---|
RgroupCheckerResult(StructureChecker source,
List<MolAtom> atoms,
List<MolBond> bonds,
List<chemaxon.checkers.util.RgroupInfo> groups,
StructureCheckerErrorType type,
Molecule molecule,
String description,
String name,
String localMenuName,
String helpText,
Icon icon)
|
RgroupCheckerResult(StructureChecker source,
List<MolAtom> atoms,
List<MolBond> bonds,
List<chemaxon.checkers.util.RgroupInfo> groups,
StructureCheckerErrorType type,
Molecule molecule,
String description,
String name,
String localMenuName,
String helpText,
Icon icon,
int errorCount)
Constructor which initialize all the properties.
|
| Modifier and Type | Method and Description |
|---|---|
void |
convert(Molecule molecule,
Map<String,Map<? extends Object,? extends Object>> convertData)
This method converts the entities contained in this result according to the convertData.
|
boolean |
equals(Object obj) |
List<chemaxon.checkers.util.RgroupInfo> |
getRgroups()
Returns a
List of RgroupInfo objects with R-atoms and R-group members
affected by the problem |
int |
hashCode() |
getAtoms, getBonds, getDescription, getErrorCount, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getMolecule, getName, getSource, setAtoms, setBonds, setMolecule, toString@Deprecated public RgroupCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, List<chemaxon.checkers.util.RgroupInfo> groups, StructureCheckerErrorType type, Molecule molecule, String description, String name, String localMenuName, String helpText, Icon icon)
RgroupCheckerResult(StructureChecker, List, List, List, StructureCheckerErrorType, Molecule, String, String, String, String, Icon, int) insteadsource - 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 problemgroups - a List of RgroupInfo instances containg the
affected R-atoms and R-group memberstype - 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 dialogspublic RgroupCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, List<chemaxon.checkers.util.RgroupInfo> groups, StructureCheckerErrorType type, Molecule molecule, String description, String name, String localMenuName, String helpText, Icon icon, int errorCount)
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 problemgroups - a List of RgroupInfo instances containg the
affected R-atoms and R-group memberstype - 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 dialogserrorCount - count of identified errorspublic List<chemaxon.checkers.util.RgroupInfo> getRgroups()
List of RgroupInfo objects with R-atoms and R-group members
affected by the problemList of RgroupInfo objectspublic void convert(Molecule molecule, Map<String,Map<? extends Object,? extends Object>> convertData)
StructureCheckerResultconvert in interface StructureCheckerResultconvert in class DefaultStructureCheckerResultmolecule - the original molecule objectconvertData - is a map with String keys and Map values which contains
the convert related informationpublic int hashCode()
hashCode in class DefaultStructureCheckerResultpublic boolean equals(Object obj)
equals in class DefaultStructureCheckerResult