|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchemaxon.checkers.result.DefaultStructureCheckerResult
chemaxon.checkers.result.SgroupCheckerResult
public class SgroupCheckerResult
A descendant of DefaultStructureCheckerResult
for identifying Sgroup
problems.
Constructor Summary | |
---|---|
SgroupCheckerResult(StructureChecker source,
java.util.List<MolAtom> atoms,
java.util.List<MolBond> bonds,
StructureCheckerErrorType errorType,
Molecule molecule,
java.lang.String description,
java.util.List<Sgroup> groups,
java.lang.String name,
java.lang.String localMenuName,
java.lang.String helpText,
javax.swing.Icon icon)
Constructor which initialize all the properties. |
Method Summary | |
---|---|
void |
convert(Molecule molecule,
java.util.Map<java.lang.String,java.util.Map<? extends java.lang.Object,? extends java.lang.Object>> convertData)
This method converts the entities contained in this result according to the convertData. |
boolean |
equals(java.lang.Object obj)
|
java.util.List<Sgroup> |
getSgroups()
Returns a List which contains the affected groups of the problem |
int |
hashCode()
|
void |
setSrgoups(java.util.List<Sgroup> groups)
This method sets the groups property |
Methods inherited from class chemaxon.checkers.result.DefaultStructureCheckerResult |
---|
getAtoms, getBonds, getDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getMolecule, getName, getSource, setAtoms, setBonds, setMolecule, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SgroupCheckerResult(StructureChecker source, java.util.List<MolAtom> atoms, java.util.List<MolBond> bonds, StructureCheckerErrorType errorType, Molecule molecule, java.lang.String description, java.util.List<Sgroup> groups, java.lang.String name, java.lang.String localMenuName, java.lang.String helpText, javax.swing.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 problemerrorType
- is an instance of StructureCheckerErrorType
which identifies the problemmolecule
- is a Molecule
instance which contains the described problemdescription
- is short information about the problemgroups
- is a List
of Sgroup
which contains the affected groups of 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 dialogsMethod Detail |
---|
public java.util.List<Sgroup> getSgroups()
List
which contains the affected groups of the problem
List
of Sgroup
public void setSrgoups(java.util.List<Sgroup> groups)
groups
- is a List
of Sgroup
public int hashCode()
hashCode
in class DefaultStructureCheckerResult
public boolean equals(java.lang.Object obj)
equals
in class DefaultStructureCheckerResult
public void convert(Molecule molecule, java.util.Map<java.lang.String,java.util.Map<? extends java.lang.Object,? extends java.lang.Object>> convertData)
StructureCheckerResult
convert
in interface StructureCheckerResult
convert
in class DefaultStructureCheckerResult
molecule
- the original molecule objectconvertData
- is a map with String
keys and Map values which contains
the convert related information
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |