Package chemaxon.checkers.result
Class RgroupCheckerResult
- java.lang.Object
-
- chemaxon.checkers.result.DefaultStructureCheckerResult
-
- chemaxon.checkers.result.RgroupCheckerResult
-
- All Implemented Interfaces:
StructureCheckerResult
@PublicAPI public class RgroupCheckerResult extends DefaultStructureCheckerResult
A descendant ofDefaultStructureCheckerResult
providing information of R-group issues.- Since:
- Marvin 5.6
-
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<Integer>
getRgroupIds()
Returns the list of affected R-group IDs.int
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
-
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 Detail
-
getRgroupIds
public List<Integer> 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
public boolean equals(Object obj)
- Overrides:
equals
in classDefaultStructureCheckerResult
-
-