Package chemaxon.checkers
Class AtomQueryPropertyChecker
java.lang.Object
chemaxon.checkers.AbstractStructureChecker
chemaxon.checkers.ComponentChecker<MolAtom>
chemaxon.checkers.AtomChecker
chemaxon.checkers.AtomQueryPropertyChecker
- All Implemented Interfaces:
- StructureChecker,- chemaxon.license.Licensable,- PropertyChangeListener,- Cloneable,- EventListener
A descendant of 
AtomChecker detecting atoms having an query property
 set.- Since:
- Marvin 5.6
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringAromaticity atom query property.static final StringAromaticity checking propertystatic final StringConnection count atom query property.static final StringConnection count checking propertystatic final StringExplicit connection count atom query property.static final StringExplicit connection count checking propertystatic final StringHydrogen count atom query property.static final StringHydrogen count checking propertystatic final StringImplicit hydrogen count atom query property.static final StringImplicit hydrogen count checking propertystatic final StringRing bond count atom query property.static final StringRing bond count checking propertystatic final StringRing count atom query property.static final StringRing count checking propertystatic final StringSmallest ring size atom query property.static final StringSmallest ring size checking propertystatic final StringSMARTS query propertystatic final StringSMARTS query checking propertystatic final StringSubstitution count atom query property.static final StringSubstitution count checking propertystatic final StringUnsaturation atom query property.static final StringUnsaturation checking propertyFields inherited from class chemaxon.checkers.AbstractStructureCheckererrorType, propertyChangeSupportFields inherited from interface chemaxon.checkers.StructureCheckerPROPERTY_KEY_VALID
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a new AtomQueryPropertyChecker instance, it detects all query properties by default.AtomQueryPropertyChecker(Map<String, String> params) Creates a new AtomQueryPropertyChecker instance to detect the given query properties.
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanChecks if the component with index i has problemprotected StructureCheckerResultcreateResult(Molecule molecule, List<MolAtom> atoms) Creates aStructureCheckerResultfrom aListcontaining the components.booleaninthashCode()booleanGets the option determining if the checker detects aromaticity atom query properties or not.booleanGets the option determining if the checker detects connection count atom query properties or not.booleanGets the option determining if the checker detects explicit connection count atom query properties or not.booleanGets the option determining if the checker detects hydrogen count atom query properties or not.booleanGets the option determining if the checker detects implicit hydrogen count atom query properties or not.booleanGets the option determining if the checker detects ring bond count atom query properties or not.booleanGets the option determining if the checker detects ring count atom query properties or not.booleanGets the option determining if the checker detects smallest ring size atom query properties or not.booleanGets the option determining if the checker detects SMARTS query properties or not.booleanGets the option determining if the checker detects substitution count atom query properties or not.booleanGets the option determining if the checker detects unsaturation atom query properties or not.voidsetAromaticityChecking(boolean value) Sets the option determining if the checker detects aromaticity atom query properties or not.voidsetConnectionCountChecking(boolean value) Sets the option determining if the checker detects connection count atom query properties or not.voidsetExplicitConnectionCountChecking(boolean value) Sets the option determining if the checker detects explicit connection count atom query properties or not.voidsetHydrogenCountChecking(boolean value) Sets the option determining if the checker detects hydrogen count atom query properties or not.voidsetImplicitHydrogenCountChecking(boolean value) Sets the option determining if the checker detects implicit hydrogen count atom query properties or not.voidsetRingBondCountChecking(boolean value) Sets the option determining if the checker detects ring bond count atom query properties or not.voidsetRingCountChecking(boolean value) Sets the option determining if the checker detects ring count atom query properties or not.voidsetSmallestRingSizeChecking(boolean value) Sets the option determining if the checker detects smallest ring size atom query properties or not.voidsetSmartsQueryChecking(boolean value) Sets the option determining if the checker detects SMARTS query properties or not.voidsetSubstitutionCountChecking(boolean value) Sets the option determining if the checker detects substitution count atom query properties or not.voidsetUnsaturationChecking(boolean value) Sets the option determining if the checker detects unsaturation atom query properties or not.toString()Methods inherited from class chemaxon.checkers.AtomCheckergetComponent, getComponentCountMethods inherited from class chemaxon.checkers.ComponentCheckercheck1, initializeMethods inherited from class chemaxon.checkers.AbstractStructureCheckeraddPropertyChangeListener, addPropertyChangeListener, check, clone, cloneItem, convertResult, expandMolecule, getDescription, getDescriptor, getEditorClassName, getErrorCode, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getName, isAvailable, isLicensed, isValid, propertyChange, removePropertyChangeListener, removePropertyChangeListener, setDescription, setHelpText, setIcon, setLicenseEnvironment, setLocalMenuName, setMoreErrorMessage, setName, setNoErrorMessage, setOneErrorMessage
- 
Field Details- 
PROPERTY_KEY_HYDROGEN_COUNTHydrogen count atom query property.- See Also:
 
- 
PROPERTY_KEY_CONNECTION_COUNTConnection count atom query property.- See Also:
 
- 
PROPERTY_KEY_EXPLICIT_CONNECTION_COUNTExplicit connection count atom query property.- See Also:
 
- 
PROPERTY_KEY_RING_COUNTRing count atom query property.- See Also:
 
- 
PROPERTY_KEY_IMPLICIT_HYDROGEN_COUNTImplicit hydrogen count atom query property.- See Also:
 
- 
PROPERTY_KEY_SMALLEST_RING_SIZESmallest ring size atom query property.- See Also:
 
- 
PROPERTY_KEY_AROMATCITYAromaticity atom query property.- See Also:
 
- 
PROPERTY_KEY_SUBSTITUTION_COUNTSubstitution count atom query property.- See Also:
 
- 
PROPERTY_KEY_UNSATURATIONUnsaturation atom query property.- See Also:
 
- 
PROPERTY_KEY_RING_BOND_COUNTRing bond count atom query property.- See Also:
 
- 
PROPERTY_KEY_SMARTS_QUERYSMARTS query property- See Also:
 
- 
PROPERTY_KEY_AROMATICITY_CHECKINGAromaticity checking property- See Also:
 
- 
PROPERTY_KEY_CONNECTION_COUNT_CHECKINGConnection count checking property- See Also:
 
- 
PROPERTY_KEY_EXPLICIT_CONNECTION_COUNT_CHECKINGExplicit connection count checking property- See Also:
 
- 
PROPERTY_KEY_HYDROGEN_COUNT_CHECKINGHydrogen count checking property- See Also:
 
- 
PROPERTY_KEY_IMPLICIT_HYDROGEN_COUNT_CHECKINGImplicit hydrogen count checking property- See Also:
 
- 
PROPERTY_KEY_RING_BOND_COUNT_CHECKINGRing bond count checking property- See Also:
 
- 
PROPERTY_KEY_RING_COUNT_CHECKINGRing count checking property- See Also:
 
- 
PROPERTY_KEY_SMALLEST_RING_SIZE_CHECKINGSmallest ring size checking property- See Also:
 
- 
PROPERTY_KEY_SUBSTITUTION_COUNT_CHECKINGSubstitution count checking property- See Also:
 
- 
PROPERTY_KEY_UNSATURATION_CHECKINGUnsaturation checking property- See Also:
 
- 
PROPERTY_KEY_SMARTS_QUERY_CHECKINGSMARTS query checking property- See Also:
 
 
- 
- 
Constructor Details- 
AtomQueryPropertyCheckerpublic AtomQueryPropertyChecker()Creates a new AtomQueryPropertyChecker instance, it detects all query properties by default.
- 
AtomQueryPropertyCheckerCreates a new AtomQueryPropertyChecker instance to detect the given query properties.- Parameters:
- params- a- Mapinstance which contains String pairs. Key is the name of the parameter, value is "true" or "false".
 
 
- 
- 
Method Details- 
checkDescription copied from class:ComponentCheckerChecks if the component with index i has problem- Specified by:
- checkin class- ComponentChecker<MolAtom>
- Parameters:
- molecule- is a- Moleculeinstance
- atom- the current component to check
- Returns:
- true if the component has problem, false otherwise
 
- 
createResultDescription copied from class:ComponentCheckerCreates aStructureCheckerResultfrom aListcontaining the components.- Overrides:
- createResultin class- AtomChecker
- Parameters:
- molecule- is a- Moleculeinstance
- atoms- is an instance of- Listcontaining the problematic components
- Returns:
- a StructureCheckerResultcontaining all problematic component indices
 
- 
equals- Overrides:
- equalsin class- AbstractStructureChecker
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- AbstractStructureChecker
 
- 
isAromaticityCheckingpublic boolean isAromaticityChecking()Gets the option determining if the checker detects aromaticity atom query properties or not.- Returns:
- true if the aromaticity atom query properties are detected
 
- 
isConnectionCountCheckingpublic boolean isConnectionCountChecking()Gets the option determining if the checker detects connection count atom query properties or not.- Returns:
- true if the connection count atom query properties are detected
 
- 
isExplicitConnectionCountCheckingpublic boolean isExplicitConnectionCountChecking()Gets the option determining if the checker detects explicit connection count atom query properties or not.- Returns:
- true if the explicit connection count atom query properties are detected
 
- 
isHydrogenCountCheckingpublic boolean isHydrogenCountChecking()Gets the option determining if the checker detects hydrogen count atom query properties or not.- Returns:
- true if the hydrogen count atom query properties are detected
 
- 
isImplicitHydrogenCountCheckingpublic boolean isImplicitHydrogenCountChecking()Gets the option determining if the checker detects implicit hydrogen count atom query properties or not.- Returns:
- true if the implicit hydrogen count atom query properties are detected
 
- 
isRingBondCountCheckingpublic boolean isRingBondCountChecking()Gets the option determining if the checker detects ring bond count atom query properties or not.- Returns:
- true if the ring bond count atom query properties are detected
 
- 
isRingCountCheckingpublic boolean isRingCountChecking()Gets the option determining if the checker detects ring count atom query properties or not.- Returns:
- true if the ring count atom query properties are detected
 
- 
isSmallestRingSizeCheckingpublic boolean isSmallestRingSizeChecking()Gets the option determining if the checker detects smallest ring size atom query properties or not.- Returns:
- true if the smallest ring size atom query properties are detected
 
- 
isSubstitutionCountCheckingpublic boolean isSubstitutionCountChecking()Gets the option determining if the checker detects substitution count atom query properties or not.- Returns:
- true if the substitution count atom query properties are detected
 
- 
isUnsaturationCheckingpublic boolean isUnsaturationChecking()Gets the option determining if the checker detects unsaturation atom query properties or not.- Returns:
- true if the unsaturation atom query properties are detected
 
- 
isSmartsQueryCheckingpublic boolean isSmartsQueryChecking()Gets the option determining if the checker detects SMARTS query properties or not.- Returns:
- true if the SMARTS query properties are to be detected
 
- 
setAromaticityCheckingpublic void setAromaticityChecking(boolean value) Sets the option determining if the checker detects aromaticity atom query properties or not.- Parameters:
- value- if true, aromaticity atom query properties are detected
 
- 
setConnectionCountCheckingpublic void setConnectionCountChecking(boolean value) Sets the option determining if the checker detects connection count atom query properties or not.- Parameters:
- value- if true, connection count atom query properties are detected
 
- 
setExplicitConnectionCountCheckingpublic void setExplicitConnectionCountChecking(boolean value) Sets the option determining if the checker detects explicit connection count atom query properties or not.- Parameters:
- value- if true, explicit connection count atom query properties are detected
 
- 
setHydrogenCountCheckingpublic void setHydrogenCountChecking(boolean value) Sets the option determining if the checker detects hydrogen count atom query properties or not.- Parameters:
- value- if true, hydrogen count atom query properties are detected
 
- 
setImplicitHydrogenCountCheckingpublic void setImplicitHydrogenCountChecking(boolean value) Sets the option determining if the checker detects implicit hydrogen count atom query properties or not.- Parameters:
- value- if true, implicit hydrogen count atom query properties are detected
 
- 
setRingBondCountCheckingpublic void setRingBondCountChecking(boolean value) Sets the option determining if the checker detects ring bond count atom query properties or not.- Parameters:
- value- if true, ring bond count atom query properties are detected
 
- 
setRingCountCheckingpublic void setRingCountChecking(boolean value) Sets the option determining if the checker detects ring count atom query properties or not.- Parameters:
- value- if true, ring count atom query properties are detected
 
- 
setSmallestRingSizeCheckingpublic void setSmallestRingSizeChecking(boolean value) Sets the option determining if the checker detects smallest ring size atom query properties or not.- Parameters:
- value- if true, smallest ring size atom query properties are detected
 
- 
setSubstitutionCountCheckingpublic void setSubstitutionCountChecking(boolean value) Sets the option determining if the checker detects substitution count atom query properties or not.- Parameters:
- value- if true, substitution count atom query properties are detected
 
- 
setUnsaturationCheckingpublic void setUnsaturationChecking(boolean value) Sets the option determining if the checker detects unsaturation atom query properties or not.- Parameters:
- value- if true, unsaturation query properties are detected
 
- 
setSmartsQueryCheckingpublic void setSmartsQueryChecking(boolean value) Sets the option determining if the checker detects SMARTS query properties or not.- Parameters:
- value- of SMARTS query properties are to be detected
 
- 
toString- Overrides:
- toStringin class- AbstractStructureChecker
 
 
-