Package chemaxon.checkers.result
Class AtomQueryPropertyCheckerResult
java.lang.Object
chemaxon.checkers.result.DefaultStructureCheckerResult
chemaxon.checkers.result.AtomQueryPropertyCheckerResult
- All Implemented Interfaces:
StructureCheckerResult
A descendant of
DefaultStructureCheckerResult for identifying atom
query properties, thus errorType property is
StructureCheckerErrorType.ATOM_QUERY_PROPERTY by default.- Since:
- Marvin 5.6
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class chemaxon.checkers.result.DefaultStructureCheckerResult
convert, getAtoms, getBonds, getDescription, getErrorCount, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getMolecule, getName, getSource, setAtoms, setBonds, setMolecule, toString
-
Constructor Details
-
AtomQueryPropertyCheckerResult
public AtomQueryPropertyCheckerResult(StructureChecker source, List<MolAtom> atoms, Molecule molecule, String description, List<String> properties, String name, String localMenuName, String helpText, Icon icon) Constructor which initialize all the properties. errorType property isStructureCheckerErrorType.ATOM_QUERY_PROPERTYby default.- Parameters:
source- is theStructureCheckerinstance which identified the problematoms- aListofMolAtomwhich contains the affected atoms of the problemmolecule- is aMoleculeinstance which contains the described problemdescription- is short information about the problemproperties- identifies which atom query properties should be removedMolAtom.getQProp(String)name- is the name of the checker which found the described problemlocalMenuName- is aStringwhich should be shown in the local menu of Marvin SketchhelpText- is help message for the problemicon- is an instance ofIconwhich will be shown in Marvin Sketch checker dialogs
-
-
Method Details
-
getProperties
Returns the flag which can used to identify which properties should be fixed.- Returns:
- the list of atom query properties to remove.
-
equals
- Overrides:
equalsin classDefaultStructureCheckerResult
-
hashCode
public int hashCode()- Overrides:
hashCodein classDefaultStructureCheckerResult
-