public class RgroupCheckerResult extends DefaultStructureCheckerResult
DefaultStructureCheckerResult
providing information of R-group issues.Constructor and Description |
---|
RgroupCheckerResult(StructureChecker source,
List<MolAtom> atoms,
List<MolBond> bonds,
List<chemaxon.checkers.util.RgroupInfo> groups,
StructureCheckerErrorType type,
Molecule molecule,
String description,
String name,
String localMenuName,
String helpText,
Icon icon)
Deprecated.
|
RgroupCheckerResult(StructureChecker source,
List<MolAtom> atoms,
List<MolBond> bonds,
List<chemaxon.checkers.util.RgroupInfo> groups,
StructureCheckerErrorType type,
Molecule molecule,
String description,
String name,
String localMenuName,
String helpText,
Icon icon,
int errorCount)
Deprecated.
|
RgroupCheckerResult(StructureChecker source,
StructureCheckerErrorType type,
List<MolAtom> atoms,
List<MolBond> bonds,
List<Integer> rgroups,
Molecule molecule,
String description,
String name,
String localMenuName,
String helpText,
Icon icon,
int errorCount)
Constructor which initialize all the properties.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<Integer> |
getRgroupIds()
Returns the list of affected R-group IDs.
|
List<chemaxon.checkers.util.RgroupInfo> |
getRgroups()
Deprecated.
|
int |
hashCode() |
convert, getAtoms, getBonds, getDescription, getErrorCount, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getMolecule, getName, getSource, setAtoms, setBonds, setMolecule, toString
@Deprecated @SubjectToRemoval(date=APR_01_2015) public RgroupCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, List<chemaxon.checkers.util.RgroupInfo> groups, StructureCheckerErrorType type, Molecule molecule, String description, String name, String localMenuName, String helpText, Icon icon)
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 problemgroups
- a List
of RgroupInfo
instances containing the
affected R-atoms and R-group memberstype
- 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 dialogs@Deprecated @SubjectToRemoval(date=APR_01_2015) public RgroupCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, List<chemaxon.checkers.util.RgroupInfo> groups, StructureCheckerErrorType type, Molecule molecule, String description, String name, String localMenuName, String helpText, 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 problemgroups
- a List
of RgroupInfo
instances containg the
affected R-atoms and R-group memberstype
- 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 RgroupCheckerResult(StructureChecker source, StructureCheckerErrorType type, List<MolAtom> atoms, List<MolBond> bonds, List<Integer> rgroups, Molecule molecule, String description, String name, String localMenuName, String helpText, Icon icon, int errorCount)
source
- is the StructureChecker
instance which identified the problemtype
- is an instance of StructureCheckerErrorType
which
identifies 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 problemrgroups
- a List
of R-group IDs that indicates the
affected R-groups of 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 errors@Deprecated @SubjectToRemoval(date=APR_01_2015) public List<chemaxon.checkers.util.RgroupInfo> getRgroups()
List
of RgroupInfo
objects.
The affected R-groups are set to invalid in this list.List
of RgroupInfo
objectspublic List<Integer> getRgroupIds()
List
.public int hashCode()
hashCode
in class DefaultStructureCheckerResult
public boolean equals(Object obj)
equals
in class DefaultStructureCheckerResult