|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchemaxon.checkers.AbstractStructureChecker
chemaxon.checkers.RingStrainErrorChecker
public class RingStrainErrorChecker
RingStrainErrorChecker detects triple bonds, trans or cumulated double bonds small rings containing less than 8 atoms.
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_KEY_DETECT_CUMULATED_DOUBLE_BONDS
Property key detect cumulated double bonds |
static java.lang.String |
PROPERTY_KEY_DETECT_TRANS_DOUBLE_BONDS
Property key detect trans double bonds |
static java.lang.String |
PROPERTY_KEY_DETECT_TRIPLE_BONDS
Property key detect triple bonds |
Fields inherited from class chemaxon.checkers.AbstractStructureChecker |
---|
errorType, propertyChangeSupport |
Fields inherited from interface chemaxon.checkers.StructureChecker |
---|
PROPERTY_KEY_VALID |
Constructor Summary | |
---|---|
RingStrainErrorChecker()
Default constructor |
|
RingStrainErrorChecker(java.util.Map<java.lang.String,java.lang.String> params)
Parameterized constructor. |
Method Summary | |
---|---|
protected StructureCheckerResult |
check1(Molecule molecule)
This method contains the current checking mechanism. |
boolean |
isCumulatedDoubleBond()
Returns the detectCummulatedDoubleBonds |
boolean |
isDetectCumulatedDoubleBonds()
Returns the detectCummulatedDoubleBonds |
boolean |
isDetectTransDoubleBonds()
Returns the detectTransDoubleBonds |
boolean |
isDetectTripleBonds()
Returns the detectTripleBonds |
boolean |
isTransDoubleBond()
Returns the detectTransDoubleBonds |
boolean |
isTripleBond()
Returns the detectTripleBonds |
void |
setDetectCumulatedDoubleBonds(boolean detectCumulatedDoubleBonds)
Sets the detectCumulatedDoubleBonds property |
void |
setDetectTransDoubleBonds(boolean detectTransDoubleBonds)
Sets the detectTransDoubleBonds |
void |
setDetectTripleBonds(boolean detectTripleBonds)
Sets the detectTripleBonds property |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPERTY_KEY_DETECT_TRANS_DOUBLE_BONDS
public static final java.lang.String PROPERTY_KEY_DETECT_CUMULATED_DOUBLE_BONDS
public static final java.lang.String PROPERTY_KEY_DETECT_TRIPLE_BONDS
Constructor Detail |
---|
public RingStrainErrorChecker()
public RingStrainErrorChecker(java.util.Map<java.lang.String,java.lang.String> params)
params
- is a Map
instance contains String
pairs. Key is the
name of the parameterMethod 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 foundpublic boolean isDetectTransDoubleBonds()
public boolean isDetectCumulatedDoubleBonds()
public boolean isDetectTripleBonds()
public boolean isTransDoubleBond()
public boolean isCumulatedDoubleBond()
public boolean isTripleBond()
public void setDetectTransDoubleBonds(boolean detectTransDoubleBonds)
detectTransDoubleBonds
- is true if trans double bonds should be detected, false
otherwisepublic void setDetectCumulatedDoubleBonds(boolean detectCumulatedDoubleBonds)
detectCumulatedDoubleBonds
- is true if cumulated double bonds should be
detected, false otherwisepublic void setDetectTripleBonds(boolean detectTripleBonds)
detectTripleBonds
- is true if triple bonds should be detected, false otherwise
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |