Package chemaxon.checkers
Class RatomChecker
java.lang.Object
chemaxon.checkers.AbstractStructureChecker
chemaxon.checkers.RatomChecker
- All Implemented Interfaces:
- StructureChecker,- chemaxon.license.Licensable,- PropertyChangeListener,- Cloneable,- EventListener
A descendant of 
AbstractStructureChecker detecting R-atoms.- Since:
- Marvin 5.7
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThis constantStringrepresents the name of the property which is responsible for searching all ratoms in the moleculestatic final StringThis constantStringrepresents the name of the property which is responsible for searching disconnected ratoms in the moleculestatic final StringThis constantStringrepresents the name of the property which is responsible for searching generic ratoms in the moleculestatic final StringThis private constantStringrepresents the name of the property which is responsible for searching linker ratoms in the moleculestatic final StringThis private constantStringrepresents the name of the property which is responsible for searching nested ratoms in the moleculeFields inherited from class chemaxon.checkers.AbstractStructureCheckererrorType, propertyChangeSupportFields inherited from interface chemaxon.checkers.StructureCheckerPROPERTY_KEY_VALID
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a new anyChecker instance detecting all R-atoms.RatomChecker(Map<String, String> params) Creates a new anyChecker instance reading checking options from the params argument.
- 
Method SummaryModifier and TypeMethodDescriptionprotected StructureCheckerResultThis method contains the current checking mechanism.booleanGets the option determining if the checker detects all R-atoms or not.booleanGets the option determining if the checker detects R-atoms not connected to any other atoms or not.booleanGets the option determining if the checker detects R-atoms without identifier numbers or not.booleanGets the option determining if the checker detects R-atoms with more than one connection or not.booleanGets the option determining if the checker detects R-atoms within R-groups or not.voidsetSearchAll(boolean value) Sets the option determining if the checker detects all R-atoms or not.voidsetSearchDisconnected(boolean value) Sets the option determining if the checker detects R-atoms not connected to any other atoms or not.voidsetSearchGeneric(boolean value) Sets the option determining if the checker detects R-atoms without identifier numbers or not.voidsetSearchLinker(boolean value) Sets the option determining if the checker detects R-atoms with more than one connection or not.voidsetSearchNested(boolean value) Sets the option determining if the checker detects R-atoms within R-groups or not.Methods inherited from class chemaxon.checkers.AbstractStructureCheckeraddPropertyChangeListener, addPropertyChangeListener, check, clone, cloneItem, convertResult, equals, expandMolecule, getDescription, getDescriptor, getEditorClassName, getErrorCode, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getName, hashCode, isAvailable, isLicensed, isValid, propertyChange, removePropertyChangeListener, removePropertyChangeListener, setDescription, setHelpText, setIcon, setLicenseEnvironment, setLocalMenuName, setMoreErrorMessage, setName, setNoErrorMessage, setOneErrorMessage, toString
- 
Field Details- 
PROPERTY_KEY_SEARCH_ALLThis constantStringrepresents the name of the property which is responsible for searching all ratoms in the molecule- Since:
- 5.7
- See Also:
 
- 
PROPERTY_KEY_SEARCH_DISCONNECTEDThis constantStringrepresents the name of the property which is responsible for searching disconnected ratoms in the molecule- Since:
- 5.7
- See Also:
 
- 
PROPERTY_KEY_SEARCH_GENERICThis constantStringrepresents the name of the property which is responsible for searching generic ratoms in the molecule- Since:
- 5.7
- See Also:
 
- 
PROPERTY_KEY_SEARCH_LINKERThis private constantStringrepresents the name of the property which is responsible for searching linker ratoms in the molecule- Since:
- 5.7
- See Also:
 
- 
PROPERTY_KEY_SEARCH_NESTEDThis private constantStringrepresents the name of the property which is responsible for searching nested ratoms in the molecule- Since:
- 5.7
- See Also:
 
 
- 
- 
Constructor Details- 
RatomCheckerpublic RatomChecker()Creates a new anyChecker instance detecting all R-atoms.
- 
RatomCheckerCreates a new anyChecker instance reading checking options from the params argument.- Parameters:
- params- a- Mapinstance which contains String pairs. Key is the name of the parameter.
 
 
- 
- 
Method Details- 
check1Description copied from class:AbstractStructureCheckerThis method contains the current checking mechanism.- Specified by:
- check1in class- AbstractStructureChecker
- Parameters:
- molecule- the- Moleculeinstance to be checked for problems
- Returns:
- a StructureCheckerResultwhich represents the problem or null if no problem found
 
- 
isSearchAllpublic boolean isSearchAll()Gets the option determining if the checker detects all R-atoms or not.- Returns:
- true if all R-atoms are detected
 
- 
isSearchDisconnectedpublic boolean isSearchDisconnected()Gets the option determining if the checker detects R-atoms not connected to any other atoms or not.- Returns:
- true if the nested R-atoms are detected
 
- 
isSearchGenericpublic boolean isSearchGeneric()Gets the option determining if the checker detects R-atoms without identifier numbers or not.- Returns:
- true if the generic R-atoms are detected
 
- 
isSearchLinkerpublic boolean isSearchLinker()Gets the option determining if the checker detects R-atoms with more than one connection or not.- Returns:
- true if the linker R-atoms are detected
 
- 
isSearchNestedpublic boolean isSearchNested()Gets the option determining if the checker detects R-atoms within R-groups or not.- Returns:
- true if the nested R-atoms are detected
 
- 
setSearchAllpublic void setSearchAll(boolean value) Sets the option determining if the checker detects all R-atoms or not.- Parameters:
- value- if true, all R-atoms are detected
 
- 
setSearchDisconnectedpublic void setSearchDisconnected(boolean value) Sets the option determining if the checker detects R-atoms not connected to any other atoms or not.- Parameters:
- value- if true, disconnected R-atoms are detected
 
- 
setSearchGenericpublic void setSearchGeneric(boolean value) Sets the option determining if the checker detects R-atoms without identifier numbers or not.- Parameters:
- value- if true, generic R-atoms are detected
 
- 
setSearchLinkerpublic void setSearchLinker(boolean value) Sets the option determining if the checker detects R-atoms with more than one connection or not.- Parameters:
- value- if true, linker R-atoms are detected
 
- 
setSearchNestedpublic void setSearchNested(boolean value) Sets the option determining if the checker detects R-atoms within R-groups or not.- Parameters:
- value- if true, nested R-atoms are detected
 
 
-