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, wait
getMatchingStructure, getObjectToVerify, getQuery, hasSMARTSPattern, useMOEvPrimitive
protected 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>
SMARTSException
public String getSmarts()
getSmarts
in interface ISmartsPattern<T>
public void setSmarts(String smarts) throws SMARTSException
setSmarts
in interface ISmartsPattern<T>
SMARTSException
public List getUniqueMatchingAtoms() throws SMARTSException
ISmartsPattern
getUniqueMatchingAtoms
in interface ISmartsPattern<T>
SMARTSException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.