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
-
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_PROPERTY
by default.- Parameters:
source
- is theStructureChecker
instance which identified the problematoms
- aList
ofMolAtom
which contains the affected atoms of the problemmolecule
- is aMolecule
instance 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 aString
which should be shown in the local menu of Marvin SketchhelpText
- is help message for the problemicon
- is an instance ofIcon
which 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:
equals
in classDefaultStructureCheckerResult
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDefaultStructureCheckerResult
-