public class FunctionalGroup extends AmbitBean implements net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,VerboseDescriptorResult>
Modifier and Type | Field and Description |
---|---|
protected boolean |
enabled |
protected Hashtable<String,String> |
properties |
protected ISmartsPattern<org.openscience.cdk.interfaces.IAtomContainer> |
query |
protected static String |
t_example |
protected static String |
t_family |
protected static String |
t_group |
protected static String |
t_hint |
protected static String |
t_name |
protected static String |
t_smarts |
protected boolean |
verboseMatch |
Constructor and Description |
---|
FunctionalGroup() |
FunctionalGroup(String name,
String smarts,
String hint) |
FunctionalGroup(String name,
String smarts,
String hint,
String family) |
FunctionalGroup(String name,
String smarts,
String hint,
String family,
String example) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
close() |
String |
getExample() |
String |
getFamily() |
String |
getHint() |
long |
getID() |
String |
getName() |
ISmartsPattern<org.openscience.cdk.interfaces.IAtomContainer> |
getQuery() |
String |
getSmarts() |
boolean |
isEnabled() |
boolean |
isVerboseMatch() |
void |
open() |
VerboseDescriptorResult |
process(org.openscience.cdk.interfaces.IAtomContainer target) |
void |
setEnabled(boolean enabled) |
void |
setExample(String name) |
void |
setFamily(String family) |
void |
setHint(String hint) |
void |
setName(String name) |
void |
setQuery(ISmartsPattern<org.openscience.cdk.interfaces.IAtomContainer> query) |
void |
setSmarts(String smarts) |
void |
setVerboseMatch(boolean verboseMatch) |
String |
toString() |
Element |
toXML(Document document) |
protected static final String t_group
protected static final String t_name
protected static final String t_smarts
protected static final String t_hint
protected static final String t_family
protected static final String t_example
protected ISmartsPattern<org.openscience.cdk.interfaces.IAtomContainer> query
protected boolean enabled
protected boolean verboseMatch
public FunctionalGroup()
public FunctionalGroup(String name, String smarts, String hint, String family, String example)
public ISmartsPattern<org.openscience.cdk.interfaces.IAtomContainer> getQuery()
public long getID()
getID
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,VerboseDescriptorResult>
public void setQuery(ISmartsPattern<org.openscience.cdk.interfaces.IAtomContainer> query) throws SMARTSException
SMARTSException
public boolean isVerboseMatch()
public void setVerboseMatch(boolean verboseMatch)
public boolean isEnabled()
isEnabled
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,VerboseDescriptorResult>
public void setEnabled(boolean enabled)
setEnabled
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,VerboseDescriptorResult>
public void clear()
public String getFamily()
public String getHint()
public String getName()
public String getSmarts()
public String getExample()
public void setName(String name)
public void setExample(String name)
public void setSmarts(String smarts)
public void setHint(String hint)
public void setFamily(String family)
public Element toXML(Document document) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public VerboseDescriptorResult process(org.openscience.cdk.interfaces.IAtomContainer target) throws net.idea.modbcum.i.exceptions.AmbitException
process
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,VerboseDescriptorResult>
net.idea.modbcum.i.exceptions.AmbitException
public void open() throws Exception
open
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,VerboseDescriptorResult>
Exception
public void close() throws Exception
close
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,VerboseDescriptorResult>
Exception
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.