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
ConstructorsConstructorDescriptionRgroupCheckerResult(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 theStructureCheckerinstance which identified the problemtype- is an instance ofStructureCheckerErrorTypewhich identifies the problematoms- aListofMolAtomwhich contains the affected atoms of the problembonds- aListofMolBondwhich contains the affected bonds of the problemrgroups- aListof R-group IDs that indicates the affected R-groups of 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 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:
hashCodein classDefaultStructureCheckerResult
-
equals
- Overrides:
equalsin classDefaultStructureCheckerResult
-