public interface StructureCheckerResult
StructureCheckerResult
identifies a molecule problemModifier and Type | Method and Description |
---|---|
void |
convert(Molecule molecule,
Map<String,Map<? extends Object,? extends Object>> convertData)
This method converts the entities contained in this result according to the convertData.
|
List<MolAtom> |
getAtoms() |
List<MolBond> |
getBonds() |
String |
getDescription() |
StructureCheckerErrorType |
getErrorType() |
String |
getHelpText() |
Icon |
getIcon() |
String |
getLocalMenuName() |
Molecule |
getMolecule() |
String |
getName() |
StructureChecker |
getSource() |
void |
setAtoms(List<MolAtom> atoms)
This method sets the atoms property
|
void |
setBonds(List<MolBond> bonds)
This method sets the bonds property
|
void |
setMolecule(Molecule molecule)
This method sets the molecule
|
StructureChecker getSource()
String getDescription()
StructureCheckerErrorType getErrorType()
StructureCheckerErrorType
which is the errorCode of the problemMolecule getMolecule()
void setMolecule(Molecule molecule)
molecule
- is a Molecule
instanceString getName()
StructureChecker
found the problemString getLocalMenuName()
String getHelpText()
Icon getIcon()
void convert(Molecule molecule, Map<String,Map<? extends Object,? extends Object>> convertData)
molecule
- the original molecule objectconvertData
- is a map with String
keys and Map values which contains
the convert related information