Package chemaxon.checkers.result
Class RgroupCheckerResult
java.lang.Object
chemaxon.checkers.result.DefaultStructureCheckerResult
chemaxon.checkers.result.RgroupCheckerResult
- All Implemented Interfaces:
StructureCheckerResult
A descendant of
DefaultStructureCheckerResult
providing information of R-group issues.- Since:
- Marvin 5.6
-
Constructor Summary
ConstructorDescriptionRgroupCheckerResult
(StructureChecker source, StructureCheckerErrorType type, List<MolAtom> atoms, List<MolBond> bonds, List<Integer> rgroups, Molecule molecule, String description, String name, String localMenuName, String helpText, Icon icon, int errorCount) 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
-
RgroupCheckerResult
public RgroupCheckerResult(StructureChecker source, StructureCheckerErrorType type, List<MolAtom> atoms, List<MolBond> bonds, List<Integer> rgroups, Molecule molecule, String description, String name, String localMenuName, String helpText, Icon icon, int errorCount) Constructor which initialize all the properties.- Parameters:
source
- is theStructureChecker
instance which identified the problemtype
- is an instance ofStructureCheckerErrorType
which identifies the problematoms
- aList
ofMolAtom
which contains the affected atoms of the problembonds
- aList
ofMolBond
which contains the affected bonds of the problemrgroups
- aList
of R-group IDs that indicates the affected R-groups of 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 dialogserrorCount
- count of identified errors
-
-
Method Details
-
getRgroupIds
Returns the list of affected R-group IDs.- Returns:
- IDs of the affected R-groups as a
List
.
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDefaultStructureCheckerResult
-
equals
- Overrides:
equals
in classDefaultStructureCheckerResult
-