@PublicAPI public class ReactionCheckerResult extends DefaultStructureCheckerResult
DefaultStructureCheckerResult
for identifying reaction problems.Constructor and Description |
---|
ReactionCheckerResult(StructureChecker source,
java.util.List<MolAtom> atoms,
java.util.List<MolBond> bonds,
java.util.List<java.lang.Long> componentIds,
StructureCheckerErrorType type,
Molecule molecule,
java.lang.String description,
java.lang.String name,
java.lang.String localMenuName,
java.lang.String helpText,
javax.swing.Icon icon)
|
ReactionCheckerResult(StructureChecker source,
java.util.List<MolAtom> atoms,
java.util.List<MolBond> bonds,
java.util.List<java.lang.Long> componentIds,
StructureCheckerErrorType type,
Molecule molecule,
java.lang.String description,
java.lang.String name,
java.lang.String localMenuName,
java.lang.String helpText,
javax.swing.Icon icon,
int errorCount)
Deprecated.
Constructor which initialize all the properties.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Deprecated.
|
java.util.List<java.lang.Long> |
getComponentIds()
Deprecated.
Returns the
List of the ids of the components affected by the problem |
int |
hashCode()
Deprecated.
|
convert, getAtoms, getBonds, getDescription, getErrorCount, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getMolecule, getName, getSource, setAtoms, setBonds, setMolecule, toString
@Deprecated public ReactionCheckerResult(StructureChecker source, java.util.List<MolAtom> atoms, java.util.List<MolBond> bonds, java.util.List<java.lang.Long> componentIds, StructureCheckerErrorType type, Molecule molecule, java.lang.String description, java.lang.String name, java.lang.String localMenuName, java.lang.String helpText, javax.swing.Icon icon)
ReactionCheckerResult(StructureChecker, List, List, List, StructureCheckerErrorType, Molecule, String, String, String, String, Icon, int)
insteadsource
- is the StructureChecker
instance which identified the problematoms
- a List
of MolAtom
which contains the affected atoms of the problembonds
- a List
of MolBond
which contains the affected bonds of the problemcomponentIds
- a List
of Long
which contains the id-s of the reaction
components affected by the problemtype
- is an instance of StructureCheckerErrorType
which identifies the problemmolecule
- is a Molecule
instance which contains the described problemdescription
- is short information about the problemname
- is the name of the checker which found the described problemlocalMenuName
- is a String
which should be shown in the local menu of Marvin SketchhelpText
- is help message for the problemicon
- is an instance of Icon
which will be shown in Marvin Sketch checker dialogspublic ReactionCheckerResult(StructureChecker source, java.util.List<MolAtom> atoms, java.util.List<MolBond> bonds, java.util.List<java.lang.Long> componentIds, StructureCheckerErrorType type, Molecule molecule, java.lang.String description, java.lang.String name, java.lang.String localMenuName, java.lang.String helpText, javax.swing.Icon icon, int errorCount)
source
- is the StructureChecker
instance which identified the problematoms
- a List
of MolAtom
which contains the affected atoms of the problembonds
- a List
of MolBond
which contains the affected bonds of the problemcomponentIds
- a List
of Long
which contains the id-s of the reaction
components affected by the problemtype
- is an instance of StructureCheckerErrorType
which identifies the problemmolecule
- is a Molecule
instance which contains the described problemdescription
- is short information about the problemname
- is the name of the checker which found the described problemlocalMenuName
- is a String
which should be shown in the local menu of Marvin SketchhelpText
- is help message for the problemicon
- is an instance of Icon
which will be shown in Marvin Sketch checker dialogserrorCount
- count of identified errorspublic java.util.List<java.lang.Long> getComponentIds()
List
of the ids of the components affected by the problemList
of Long
public int hashCode()
hashCode
in class DefaultStructureCheckerResult
public boolean equals(java.lang.Object obj)
equals
in class DefaultStructureCheckerResult