Package chemaxon.checkers.result
Class MetalloceneCheckerResult
java.lang.Object
chemaxon.checkers.result.DefaultStructureCheckerResult
chemaxon.checkers.result.MetalloceneCheckerResult
- All Implemented Interfaces:
- StructureCheckerResult
- Since:
- Marvin 5.4
- 
Constructor SummaryConstructorsConstructorDescriptionMetalloceneCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, StructureCheckerErrorType errorType, Molecule molecule, String description, String name, String localMenuName, String helpText, Icon icon, List<List<MolAtom>> fiveLongRings, List<MolAtom> metalAtoms) Deprecated.MetalloceneCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, StructureCheckerErrorType errorType, Molecule molecule, String description, String name, String localMenuName, String helpText, Icon icon, List<List<MolAtom>> fiveLongRings, List<MolAtom> metalAtoms, int errorCount) Constructor which initialize all the properties.
- 
Method SummaryModifier and TypeMethodDescriptionvoidThis method converts the entities contained in this result according to the convertData.booleaninthashCode()voidsetFiveLongRings(List<List<MolAtom>> fiveLongRings) This method sets the fiveLongRings property.voidsetMetalAtoms(List<MolAtom> metalAtoms) This method sets the metalAtoms 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- 
MetalloceneCheckerResult@Deprecated public MetalloceneCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, StructureCheckerErrorType errorType, Molecule molecule, String description, String name, String localMenuName, String helpText, Icon icon, List<List<MolAtom>> fiveLongRings, List<MolAtom> metalAtoms) Deprecated.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- a- StructureCheckerErrorTypeinstance represents the type of the error
- molecule- is a- Moleculeinstance which contains the described problem
- description- is short information about 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
- fiveLongRings- a- Listof- Listof- MolAtomrepresents all the five long rings in the molecule
- metalAtoms- a- Listof- MolAtomrepresents all the metallocene relevant metal atoms in the molecule
 
- 
MetalloceneCheckerResultpublic MetalloceneCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, StructureCheckerErrorType errorType, Molecule molecule, String description, String name, String localMenuName, String helpText, Icon icon, List<List<MolAtom>> fiveLongRings, List<MolAtom> metalAtoms, int errorCount) 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- a- StructureCheckerErrorTypeinstance represents the type of the error
- molecule- is a- Moleculeinstance which contains the described problem
- description- is short information about 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
- fiveLongRings- a- Listof- Listof- MolAtomrepresents all the five long rings in the molecule
- metalAtoms- a- Listof- MolAtomrepresents all the metallocene relevant metal atoms in the molecule
- errorCount- count of identified errors
 
 
- 
- 
Method Details- 
getFiveLongRings
- 
setFiveLongRingsThis method sets the fiveLongRings property.
- 
getMetalAtoms
- 
setMetalAtomsThis method sets the metalAtoms property
- 
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
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- DefaultStructureCheckerResult
 
- 
equals- Overrides:
- equalsin class- DefaultStructureCheckerResult
 
 
- 
MetalloceneCheckerResult(StructureChecker, List, List, StructureCheckerErrorType, Molecule, String, String, String, String, Icon, List, List, int)instead