public abstract class RuleRingSubstituents extends RuleRings
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
analyzeOnlyRingsWithFlagSet |
static String |
CONDITION_FAILED |
static String |
CYCLIC_SUBSTITUENT |
static String |
ERR_PRECONDITION_FAILED |
static String |
LONGCHAIN_SUBSTITUENT |
ids, MSG_HASGROUPchanges, editable, ERR_STRUCTURENOTPREPROCESSED, examples, explanation, id, logger, MSG_NO, MSG_YES, no, residueIDHidden, titlexmltag_CATEGORIES, xmltag_CATEGORY, xmltag_CATEGORYTHRESHOLD, xmltag_CLASS, xmltag_EXPLANATION, xmltag_ID, xmltag_METHOD, xmltag_METHODPARAMETER, xmltag_METHODS, xmltag_NAME, xmltag_RULE, xmltag_RULEEXAMPLE, xmltag_RULES, xmltag_TREEROOT| Constructor and Description |
|---|
RuleRingSubstituents() |
| Modifier and Type | Method and Description |
|---|---|
String |
allowedSubstituents() |
protected boolean |
analyze(org.openscience.cdk.interfaces.IRing r) |
boolean |
analyzeOnlyRingsWithFlagSet() |
void |
clearFlags() |
boolean |
getFlag(int mask) |
void |
setAnalyzeAromatic(boolean flag) |
void |
setAnalyzeHeterocyclic(boolean flag) |
void |
setAnalyzeOnlyRingsWithFlagSet(boolean analyzeOnlyRingsWithFlagSet) |
void |
setFlag(int mask,
boolean value) |
abstract boolean |
substituentIsAllowed(org.openscience.cdk.interfaces.IAtomContainer a,
int[] place)
returns true if the substituent is allowed and false if it is forbidden
to be implemented by the inheriting class
|
boolean |
verifyRule(org.openscience.cdk.interfaces.IAtomContainer mol)
|
boolean |
verifyRule(org.openscience.cdk.interfaces.IAtomContainer mol,
org.openscience.cdk.interfaces.IAtomContainer selected) |
hasRingsToProcessaddSubstructure, clearSubstructures, equals, getIds, getQuery, getSubstructure, getSubstructures, getSubstructuresCount, initQuery, isImplemented, removeSubstructure, setIds, setQuery, setSubstructuregetSelectoraddPropertyChangeListener, clearFlags, clone, createRule, fromXML, getEditor, getExampleMolecule, getExamples, getExplanation, getID, getNum, getTitle, hideResiduesID, isEditable, isResidueIDHidden, log, log, log, makeMolecule, removePropertyChangeListener, setEditable, setExampleMolecule, setExamples, setExplanation, setID, setNum, setTitle, toShallowXML, toString, toXMLaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddPropertyChangeListener, clearFlags, clone, getEditor, getExampleMolecule, getExplanation, getID, getNum, getSelector, getTitle, hideResiduesID, isEditable, isResidueIDHidden, removePropertyChangeListener, setEditable, setExampleMolecule, setExplanation, setID, setNum, setTitle, toStringpublic static String ERR_PRECONDITION_FAILED
public static String CONDITION_FAILED
public static String CYCLIC_SUBSTITUENT
public static String LONGCHAIN_SUBSTITUENT
protected boolean analyzeOnlyRingsWithFlagSet
public void setFlag(int mask,
boolean value)
public boolean getFlag(int mask)
protected boolean analyze(org.openscience.cdk.interfaces.IRing r)
public abstract boolean substituentIsAllowed(org.openscience.cdk.interfaces.IAtomContainer a,
int[] place)
throws DecisionMethodException
DecisionMethodExceptionpublic void clearFlags()
public void setAnalyzeHeterocyclic(boolean flag)
public void setAnalyzeAromatic(boolean flag)
public boolean analyzeOnlyRingsWithFlagSet()
public void setAnalyzeOnlyRingsWithFlagSet(boolean analyzeOnlyRingsWithFlagSet)
analyzeOnlyRingsWithFlagSet - The analyzeOnlyRingsWithFlagSet to set.public String allowedSubstituents()
public boolean verifyRule(org.openscience.cdk.interfaces.IAtomContainer mol)
throws DecisionMethodException
mol - org.openscience.cdk.interfaces.AtomContainerDecisionMethodExceptionpublic boolean verifyRule(org.openscience.cdk.interfaces.IAtomContainer mol,
org.openscience.cdk.interfaces.IAtomContainer selected)
throws DecisionMethodException
verifyRule in class RuleSubstructuresDecisionMethodExceptionCopyright © 2004–2018 Ideaconsult Ltd. All rights reserved.