@PublicAPI public interface StructureCheckerResult
StructureCheckerResult
identifies a molecule problemModifier and Type | Method and Description |
---|---|
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.
|
java.util.List<MolAtom> |
getAtoms() |
java.util.List<MolBond> |
getBonds() |
java.lang.String |
getDescription() |
StructureCheckerErrorType |
getErrorType() |
java.lang.String |
getHelpText() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getLocalMenuName() |
Molecule |
getMolecule() |
java.lang.String |
getName() |
StructureChecker |
getSource() |
void |
setAtoms(java.util.List<MolAtom> atoms)
This method sets the atoms property
|
void |
setBonds(java.util.List<MolBond> bonds)
This method sets the bonds property
|
void |
setMolecule(Molecule molecule)
This method sets the molecule
|
StructureChecker getSource()
java.lang.String getDescription()
StructureCheckerErrorType getErrorType()
StructureCheckerErrorType
which is the errorCode of the problemMolecule getMolecule()
void setMolecule(Molecule molecule)
molecule
- is a Molecule
instancejava.util.List<MolAtom> getAtoms()
List
of MolAtom
which contains the affected atoms of the problemvoid setAtoms(java.util.List<MolAtom> atoms)
atoms
- is a List
of MolAtom
java.util.List<MolBond> getBonds()
List
of MolBond
which contains the affected bonds of the problemvoid setBonds(java.util.List<MolBond> bonds)
bonds
- is a List
of MolBond
java.lang.String getName()
StructureChecker
found the problemjava.lang.String getLocalMenuName()
java.lang.String getHelpText()
javax.swing.Icon getIcon()
void convert(Molecule molecule, java.util.Map<java.lang.String,java.util.Map<? extends java.lang.Object,? extends java.lang.Object>> convertData)
molecule
- the original molecule objectconvertData
- is a map with String
keys and Map values which contains
the convert related information