Package chemaxon.checkers.result
Class SgroupCheckerResult
java.lang.Object
chemaxon.checkers.result.DefaultStructureCheckerResult
chemaxon.checkers.result.SgroupCheckerResult
- All Implemented Interfaces:
- StructureCheckerResult
- Direct Known Subclasses:
- DataSgroupCheckerResult
A descendant of 
DefaultStructureCheckerResult for identifying Sgroup problems.- Since:
- Marvin 5.3
- 
Constructor SummaryConstructorsConstructorDescriptionSgroupCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, StructureCheckerErrorType errorType, Molecule molecule, String description, List<Sgroup> groups, String name, String localMenuName, String helpText, Icon icon) Constructor which initialize all the properties.
- 
Method SummaryModifier and TypeMethodDescriptionvoidThis method converts the entities contained in this result according to the convertData.booleanReturns aListwhich contains the affected groups of the probleminthashCode()voidsetSrgoups(List<Sgroup> groups) This method sets the groups propertyMethods inherited from class chemaxon.checkers.result.DefaultStructureCheckerResultgetAtoms, getBonds, getDescription, getErrorCount, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getMolecule, getName, getSource, setAtoms, setBonds, setMolecule, toString
- 
Constructor Details- 
SgroupCheckerResultpublic SgroupCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, StructureCheckerErrorType errorType, Molecule molecule, String description, List<Sgroup> groups, String name, String localMenuName, String helpText, Icon icon) Constructor which initialize all the properties.- Parameters:
- source- is the- StructureCheckerinstance which identified the problem
- atoms- a- Listof- MolAtomwhich contains the affected atoms of the problem
- bonds- a- Listof- MolBondwhich contains the affected bonds of the problem
- errorType- is an instance of- StructureCheckerErrorTypewhich identifies the problem
- molecule- is a- Moleculeinstance which contains the described problem
- description- is short information about the problem
- groups- is a- Listof- Sgroupwhich contains the affected groups of the problem
- name- is the name of the checker which found the described problem
- localMenuName- is a- Stringwhich should be shown in the local menu of Marvin Sketch
- helpText- is help message for the problem
- icon- is an instance of- Iconwhich will be shown in Marvin Sketch checker dialogs
 
 
- 
- 
Method Details- 
getSgroupsReturns aListwhich contains the affected groups of the problem
- 
setSrgoupsThis method sets the groups property
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- DefaultStructureCheckerResult
 
- 
equals- Overrides:
- equalsin class- DefaultStructureCheckerResult
 
- 
convertDescription copied from interface:StructureCheckerResultThis method converts the entities contained in this result according to the convertData. By default this method isn't needed to call from any place.- Specified by:
- convertin interface- StructureCheckerResult
- Overrides:
- convertin class- DefaultStructureCheckerResult
- Parameters:
- molecule- the original molecule object
- convertData- is a map with- Stringkeys and Map values which contains the convert related information
 
 
-