Package chemaxon.checkers.result
Class ReactionCheckerResult
- java.lang.Object
-
- chemaxon.checkers.result.DefaultStructureCheckerResult
-
- chemaxon.checkers.result.ReactionCheckerResult
-
- All Implemented Interfaces:
StructureCheckerResult
@Deprecated @PublicAPI public class ReactionCheckerResult extends DefaultStructureCheckerResult
Deprecated.A descendant ofDefaultStructureCheckerResult
for identifying reaction problems.- Since:
- Marvin 5.3
-
-
Constructor Summary
Constructors Constructor Description ReactionCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, List<Long> componentIds, StructureCheckerErrorType type, Molecule molecule, String description, String name, String localMenuName, String helpText, Icon icon)
ReactionCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, List<Long> componentIds, StructureCheckerErrorType type, Molecule molecule, String description, String name, String localMenuName, String helpText, Icon icon, int errorCount)
Deprecated.Constructor which initialize all the properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
Deprecated.List<Long>
getComponentIds()
Deprecated.Returns theList
of the ids of the components affected by the problemint
hashCode()
Deprecated.-
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
-
ReactionCheckerResult
@Deprecated public ReactionCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, List<Long> componentIds, StructureCheckerErrorType type, Molecule molecule, String description, String name, String localMenuName, String helpText, Icon icon)
Deprecated.Constructor which initialize all the properties.- Parameters:
source
- is theStructureChecker
instance which identified the problematoms
- aList
ofMolAtom
which contains the affected atoms of the problembonds
- aList
ofMolBond
which contains the affected bonds of the problemcomponentIds
- aList
ofLong
which contains the id-s of the reaction components affected by the problemtype
- is an instance ofStructureCheckerErrorType
which identifies 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 dialogs
-
ReactionCheckerResult
public ReactionCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, List<Long> componentIds, StructureCheckerErrorType type, Molecule molecule, String description, String name, String localMenuName, String helpText, Icon icon, int errorCount)
Deprecated.Constructor which initialize all the properties.- Parameters:
source
- is theStructureChecker
instance which identified the problematoms
- aList
ofMolAtom
which contains the affected atoms of the problembonds
- aList
ofMolBond
which contains the affected bonds of the problemcomponentIds
- aList
ofLong
which contains the id-s of the reaction components affected by the problemtype
- is an instance ofStructureCheckerErrorType
which identifies 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
-
getComponentIds
public List<Long> getComponentIds()
Deprecated.Returns theList
of the ids of the components affected by the problem
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classDefaultStructureCheckerResult
-
equals
public boolean equals(Object obj)
Deprecated.- Overrides:
equals
in classDefaultStructureCheckerResult
-
-