Package chemaxon.checkers.result
Class AtomQueryPropertyCheckerResult
- java.lang.Object
-
- chemaxon.checkers.result.DefaultStructureCheckerResult
-
- chemaxon.checkers.result.AtomQueryPropertyCheckerResult
-
- All Implemented Interfaces:
StructureCheckerResult
@PublicAPI public class AtomQueryPropertyCheckerResult extends DefaultStructureCheckerResult
A descendant ofDefaultStructureCheckerResult
for identifying atom query properties, thus errorType property isStructureCheckerErrorType.ATOM_QUERY_PROPERTY
by default.- Since:
- Marvin 5.6
-
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<String>
getProperties()
Returns the flag which can used to identify which properties should be fixed.int
hashCode()
-
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 Detail
-
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 Detail
-
getProperties
public List<String> getProperties()
Returns the flag which can used to identify which properties should be fixed.- Returns:
- the list of atom query properties to remove.
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classDefaultStructureCheckerResult
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDefaultStructureCheckerResult
-
-