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 Summary
ConstructorsConstructorDescriptionMetalloceneCheckerResult(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 Summary
Modifier 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.DefaultStructureCheckerResult
getAtoms, 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 theStructureCheckerinstance which identified the problematoms- aListofMolAtomwhich contains the affected atoms of the problembonds- aListofMolBondwhich contains the affected bonds of the problemerrorType- aStructureCheckerErrorTypeinstance represents the type of the errormolecule- 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 dialogsfiveLongRings- aListofListofMolAtomrepresents all the five long rings in the moleculemetalAtoms- aListofMolAtomrepresents all the metallocene relevant metal atoms in the molecule
-
MetalloceneCheckerResult
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, int errorCount) Constructor which initialize all the properties.- Parameters:
source- is theStructureCheckerinstance which identified the problematoms- aListofMolAtomwhich contains the affected atoms of the problembonds- aListofMolBondwhich contains the affected bonds of the problemerrorType- aStructureCheckerErrorTypeinstance represents the type of the errormolecule- 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 dialogsfiveLongRings- aListofListofMolAtomrepresents all the five long rings in the moleculemetalAtoms- aListofMolAtomrepresents all the metallocene relevant metal atoms in the moleculeerrorCount- count of identified errors
-
-
Method Details
-
getFiveLongRings
-
setFiveLongRings
This method sets the fiveLongRings property. -
getMetalAtoms
-
setMetalAtoms
This method sets the metalAtoms property -
convert
Description 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 interfaceStructureCheckerResult- Overrides:
convertin classDefaultStructureCheckerResult- Parameters:
molecule- the original molecule objectconvertData- is a map withStringkeys and Map values which contains the convert related information
-
hashCode
public int hashCode()- Overrides:
hashCodein classDefaultStructureCheckerResult
-
equals
- Overrides:
equalsin classDefaultStructureCheckerResult
-
MetalloceneCheckerResult(StructureChecker, List, List, StructureCheckerErrorType, Molecule, String, String, String, String, Icon, List, List, int)instead