|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchemaxon.checkers.AbstractStructureChecker
chemaxon.checkers.RgroupReferenceErrorChecker
@Deprecated public class RgroupReferenceErrorChecker
A descendant of AbstractStructureChecker
detecting R-group definition
errors.
Deprecated, the following checkers are defined instead:
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_KEY_SEARCH_CIRCULAR_REFERENCE
Deprecated. This private constant String represents the name of the property
which is responsible for searching self references in the molecule |
static java.lang.String |
PROPERTY_KEY_SEARCH_MISSING_RATOM
Deprecated. |
static java.lang.String |
PROPERTY_KEY_SEARCH_MISSING_RGROUP
Deprecated. 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
Deprecated. |
static java.lang.String |
PROPERTY_KEY_SEARCH_UNUSED_RGROUP
Deprecated. This private constant String represents the name of the property
which is responsible for searching unused rgroups 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()
Deprecated. Creates a new RgroupReferenceErrorChecker instance checking all R-group errors by default. |
|
RgroupReferenceErrorChecker(java.util.Map<java.lang.String,java.lang.String> params)
Deprecated. Creates a new RgroupRefereceErrorChecker instance reading checking options from the params argument. |
Method Summary | |
---|---|
protected StructureCheckerResult |
check1(Molecule molecule)
Deprecated. This method contains the current checking mechanism. |
protected void |
convertResult(Molecule originalMolecule,
Molecule expandedMolecule,
StructureCheckerResult result,
java.util.Map<MolAtom,MolAtom> atomMap,
java.util.Map<MolBond,MolBond> bondMap)
Deprecated. This implementation does nothing. |
protected Molecule |
expandMolecule(Molecule molecule,
java.util.Map<MolAtom,MolAtom> atomMap,
java.util.Map<MolBond,MolBond> bondMap)
Deprecated. This implementation does nothing. |
boolean |
isSearchCircularReference()
Deprecated. Sets the option determining if the checker detects nested R-atoms referencing to their own R-groups directly or in circularly or not. |
boolean |
isSearchMissingRatom()
Deprecated. |
boolean |
isSearchMissingRgroup()
Deprecated. Gets the option determining if the checker detects missing R-groups or not. |
boolean |
isSearchSelfReference()
Deprecated. |
boolean |
isSearchUnusedRgroup()
Deprecated. Gets the option determining if the checker detects unused R-groups or not. |
void |
setSearchCircularReference(boolean value)
Deprecated. 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)
Deprecated. |
void |
setSearchMissingRgroup(boolean value)
Deprecated. Sets the option determining if the checker detects missing R-groups or not. |
void |
setSearchSelfReference(boolean value)
Deprecated. |
void |
setSearchUnusedRgroup(boolean value)
Deprecated. Sets the option determining if the checker detects missing R-atoms or not. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
@Deprecated 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
Use PROPERTY_KEY_SEARCH_UNUSED_RGROUP instead
public static final java.lang.String PROPERTY_KEY_SEARCH_UNUSED_RGROUP
String
represents the name of the property
which is responsible for searching unused rgroups 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
@Deprecated 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
Use PROPERTY_KEY_SEARCH_CIRCULAR_REFERENCE instead
public static final java.lang.String PROPERTY_KEY_SEARCH_CIRCULAR_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 AbstractStructureChecker
molecule
- the Molecule
instance to be checked for problems
StructureCheckerResult
which represents the problem or null
if no problem found@Deprecated public boolean isSearchMissingRatom()
public boolean isSearchUnusedRgroup()
public boolean isSearchMissingRgroup()
@Deprecated public boolean isSearchSelfReference()
public boolean isSearchCircularReference()
@Deprecated public void setSearchMissingRatom(boolean value)
value
- if true, missing R-atoms are detectedpublic void setSearchUnusedRgroup(boolean value)
value
- if true, missing R-atoms are detectedpublic void setSearchMissingRgroup(boolean value)
value
- if true, missing R-groups are detected@Deprecated public void setSearchSelfReference(boolean value)
value
- if true, self-referencing R-atoms are detectedpublic void setSearchCircularReference(boolean value)
value
- if true, self-referencing R-atoms are detectedprotected void convertResult(Molecule originalMolecule, Molecule expandedMolecule, StructureCheckerResult result, java.util.Map<MolAtom,MolAtom> atomMap, java.util.Map<MolBond,MolBond> bondMap)
convertResult
in class AbstractStructureChecker
originalMolecule
- the original moleculeexpandedMolecule
- the cloned then expanded moleculeresult
- the structure checker result on cloned moleculeatomMap
- the mapping of cloned molecule and original molecule atomsbondMap
- the mapping of cloned molecule and original molecule bondsprotected Molecule expandMolecule(Molecule molecule, java.util.Map<MolAtom,MolAtom> atomMap, java.util.Map<MolBond,MolBond> bondMap)
expandMolecule
in class AbstractStructureChecker
molecule
- the molecule to check
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |