public class AtomQueryPropertyCheckerResult extends DefaultStructureCheckerResult
DefaultStructureCheckerResult
for identifying atom
query properties, thus errorType property is
StructureCheckerErrorType.ATOM_QUERY_PROPERTY
by default.Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getProperties()
Returns the flag which can used to identify which properties should be
fixed.
|
int |
hashCode() |
convert, getAtoms, getBonds, getDescription, getErrorCount, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getMolecule, getName, getSource, setAtoms, setBonds, setMolecule, toString
public AtomQueryPropertyCheckerResult(StructureChecker source, List<MolAtom> atoms, Molecule molecule, String description, List<String> properties, String name, String localMenuName, String helpText, Icon icon)
StructureCheckerErrorType.ATOM_QUERY_PROPERTY
by default.source
- is the StructureChecker
instance which identified
the problematoms
- a List
of MolAtom
which contains the
affected atoms of the problemmolecule
- is a Molecule
instance which contains the
described problemdescription
- is short information about the problemproperties
- identifies which atom query properties should be
removed MolAtom.getQProp(String)
name
- is the name of the checker which found the described problemlocalMenuName
- is a String
which should be shown in the
local menu of Marvin SketchhelpText
- is help message for the problemicon
- is an instance of Icon
which will be shown in Marvin
Sketch checker dialogspublic List<String> getProperties()
public boolean equals(Object obj)
equals
in class DefaultStructureCheckerResult
public int hashCode()
hashCode
in class DefaultStructureCheckerResult