public abstract class AbstractSmartsPattern<T> extends Object implements Serializable, ISmartsPattern<T>
| Modifier and Type | Field and Description |
|---|---|
protected String |
hint |
protected static Logger |
logger |
protected String |
name |
protected boolean |
negate |
protected String |
smarts |
| Constructor and Description |
|---|
AbstractSmartsPattern() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getHint() |
String |
getName() |
String |
getSmarts() |
List |
getUniqueMatchingAtoms()
Just for backward compatibility
|
boolean |
isNegate() |
int |
match(org.openscience.cdk.interfaces.IAtomContainer mol) |
void |
setHint(String hint) |
void |
setName(String name) |
void |
setNegate(boolean negate) |
void |
setSmarts(String smarts) |
String |
toString() |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMatchingStructure, getObjectToVerify, getQuery, hasSMARTSPattern, useMOEvPrimitiveprotected static Logger logger
protected boolean negate
protected String smarts
protected String name
protected String hint
public String getHint()
getHint in interface ISmartsPattern<T>public void setHint(String hint)
setHint in interface ISmartsPattern<T>public String getName()
getName in interface ISmartsPattern<T>public void setName(String name)
setName in interface ISmartsPattern<T>public boolean isNegate()
isNegate in interface ISmartsPattern<T>public void setNegate(boolean negate)
setNegate in interface ISmartsPattern<T>public int match(org.openscience.cdk.interfaces.IAtomContainer mol)
throws SMARTSException
match in interface ISmartsPattern<T>SMARTSExceptionpublic String getSmarts()
getSmarts in interface ISmartsPattern<T>public void setSmarts(String smarts) throws SMARTSException
setSmarts in interface ISmartsPattern<T>SMARTSExceptionpublic List getUniqueMatchingAtoms() throws SMARTSException
ISmartsPatterngetUniqueMatchingAtoms in interface ISmartsPattern<T>SMARTSExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.