@Deprecated @SubjectToRemoval(date=OCT_01_2015) public class RgroupReferenceErrorChecker extends AbstractStructureChecker
AbstractStructureChecker detecting R-group definition errors.| Modifier and Type | Field and Description |
|---|---|
static 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 String |
PROPERTY_KEY_SEARCH_MISSING_RATOM
Deprecated.
|
static 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 String |
PROPERTY_KEY_SEARCH_SELF_REFERENCE
Deprecated.
|
static 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 |
errorType, propertyChangeSupportPROPERTY_KEY_VALID| Constructor and Description |
|---|
RgroupReferenceErrorChecker()
Deprecated.
Creates a new RgroupReferenceErrorChecker instance checking all R-group
errors by default.
|
RgroupReferenceErrorChecker(Map<String,String> params)
Deprecated.
Creates a new RgroupRefereceErrorChecker instance reading checking
options from the params argument.
|
| Modifier and Type | Method and Description |
|---|---|
protected StructureCheckerResult |
check1(Molecule molecule)
Deprecated.
This method contains the current checking mechanism.
|
protected void |
convertResult(Molecule originalMolecule,
Molecule expandedMolecule,
StructureCheckerResult result,
Map<MolAtom,MolAtom> atomMap,
Map<MolBond,MolBond> bondMap)
Deprecated.
This implementation does nothing.
|
protected Molecule |
expandMolecule(Molecule molecule,
Map<MolAtom,MolAtom> atomMap,
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.
|
addPropertyChangeListener, addPropertyChangeListener, check, clone, cloneItem, equals, 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@Deprecated public static final 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 insteadpublic static final String PROPERTY_KEY_SEARCH_UNUSED_RGROUP
String represents the name of the property
which is responsible for searching unused rgroups in the moleculepublic static final 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 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 insteadpublic static final String PROPERTY_KEY_SEARCH_CIRCULAR_REFERENCE
String represents the name of the property
which is responsible for searching self references in the moleculepublic RgroupReferenceErrorChecker()
public RgroupReferenceErrorChecker(Map<String,String> params)
params - a Map instance which contains String pairs. Key is the
name of the parameter.protected StructureCheckerResult check1(Molecule molecule)
AbstractStructureCheckercheck1 in class AbstractStructureCheckermolecule - the Molecule instance to be checked for problemsStructureCheckerResult 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, Map<MolAtom,MolAtom> atomMap, Map<MolBond,MolBond> bondMap)
convertResult in class AbstractStructureCheckeroriginalMolecule - 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, Map<MolAtom,MolAtom> atomMap, Map<MolBond,MolBond> bondMap)
expandMolecule in class AbstractStructureCheckermolecule - the molecule to check