Package chemaxon.checkers.result
Interface StructureCheckerResult
- All Known Subinterfaces:
ExternalStructureCheckerResult
- All Known Implementing Classes:
AromaticityCheckerResult,AtomQueryPropertyCheckerResult,BondAngleCheckerResult,BondLengthCheckerResult,DataSgroupCheckerResult,DefaultExternalStructureCheckerResult,DefaultStructureCheckerResult,ExplicitHydrogenResult,MetalloceneCheckerResult,ReactionCheckerResult,RgroupCheckerResult,SgroupCheckerResult,SubstructureCheckerResult
An instance of
StructureCheckerResult identifies a molecule problem- Since:
- Marvin 5.3
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method converts the entities contained in this result according to the convertData.getAtoms()getBonds()getIcon()getName()voidThis method sets the atoms propertyvoidThis method sets the bonds propertyvoidsetMolecule(Molecule molecule) This method sets the molecule
-
Method Details
-
getSource
StructureChecker getSource()- Returns:
- the StructureChecker instance which created this result
- Since:
- 5.4
-
getDescription
String getDescription()- Returns:
- the description of the error
-
getErrorType
StructureCheckerErrorType getErrorType()- Returns:
- an instance of
StructureCheckerErrorTypewhich is the errorCode of the problem
-
getMolecule
Molecule getMolecule()- Returns:
- the molecule which has the current error
-
setMolecule
This method sets the molecule- Parameters:
molecule- is aMoleculeinstance
-
getAtoms
-
setAtoms
This method sets the atoms property -
getBonds
-
setBonds
This method sets the bonds property -
getName
String getName()- Returns:
- the name of the
StructureCheckerfound the problem
-
getLocalMenuName
String getLocalMenuName()- Returns:
- the name should show in the local menu of Marvin Sketch
-
getHelpText
String getHelpText()- Returns:
- the help text of the problem
-
getIcon
Icon getIcon()- Returns:
- the icon of the problem
-
convert
This method converts the entities contained in this result according to the convertData. By default this method isn't needed to call from any place.- Parameters:
molecule- the original molecule objectconvertData- is a map withStringkeys and Map values which contains the convert related information
-