|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.checkers.AbstractStructureChecker
chemaxon.checkers.RgroupReferenceErrorChecker
public class RgroupReferenceErrorChecker
A descendant of AbstractStructureChecker detecting R-group definition
errors.
| Field Summary | |
|---|---|
static java.lang.String |
PROPERTY_KEY_SEARCH_MISSING_RATOM
This private constant String represents the name of the property which is
responsible for searching missing ratoms in the molecule |
static java.lang.String |
PROPERTY_KEY_SEARCH_MISSING_RGROUP
This private constant String represents the name of the property which is
responsible for searching missing rgroups in the molecule |
static java.lang.String |
PROPERTY_KEY_SEARCH_SELF_REFERENCE
This private constant String represents the name of the property which is
responsible for searching self references in the molecule |
| Fields inherited from class chemaxon.checkers.AbstractStructureChecker |
|---|
errorType, propertyChangeSupport |
| Fields inherited from interface chemaxon.checkers.StructureChecker |
|---|
PROPERTY_KEY_VALID |
| Constructor Summary | |
|---|---|
RgroupReferenceErrorChecker()
Creates a new RgroupReferenceErrorChecker instance checking all R-group errors by default. |
|
RgroupReferenceErrorChecker(java.util.Map<java.lang.String,java.lang.String> params)
Creates a new RgroupRefereceErrorChecker instance reading checking options from the params argument. |
|
| Method Summary | |
|---|---|
protected StructureCheckerResult |
check1(Molecule molecule)
This method contains the current checking mechanism. |
boolean |
isSearchMissingRatom()
Gets the option determining if the checker detects missing R-atoms or not. |
boolean |
isSearchMissingRgroup()
Gets the option determining if the checker detects missing R-groups or not. |
boolean |
isSearchSelfReference()
Sets the option determining if the checker detects nested R-atoms referencing to their own R-groups directly or in circularly or not. |
void |
setSearchMissingRatom(boolean value)
Sets the option determining if the checker detects missing R-atoms or not. |
void |
setSearchMissingRgroup(boolean value)
Sets the option determining if the checker detects missing R-groups or not. |
void |
setSearchSelfReference(boolean value)
Sets the option determining if the checker detects nested R-atoms referencing to their own R-groups directly or in circularly or not. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROPERTY_KEY_SEARCH_MISSING_RATOM
String represents the name of the property which is
responsible for searching missing ratoms in the molecule
public static final java.lang.String PROPERTY_KEY_SEARCH_MISSING_RGROUP
String represents the name of the property which is
responsible for searching missing rgroups in the molecule
public static final java.lang.String PROPERTY_KEY_SEARCH_SELF_REFERENCE
String represents the name of the property which is
responsible for searching self references in the molecule
| Constructor Detail |
|---|
public RgroupReferenceErrorChecker()
public RgroupReferenceErrorChecker(java.util.Map<java.lang.String,java.lang.String> params)
params - a Map instance which contains String pairs. Key is
the name of the parameter.| Method Detail |
|---|
protected StructureCheckerResult check1(Molecule molecule)
AbstractStructureChecker
check1 in class AbstractStructureCheckermolecule - the Molecule instance to be checked for problems
StructureCheckerResult which represents the problem or null
if no problem foundpublic boolean isSearchMissingRatom()
public boolean isSearchMissingRgroup()
public boolean isSearchSelfReference()
public void setSearchMissingRatom(boolean value)
value - if true, missing R-atoms are detectedpublic void setSearchMissingRgroup(boolean value)
value - if true, missing R-groups are detectedpublic void setSearchSelfReference(boolean value)
value - if true, self-referencing R-atoms are detected
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||