|
com.im.df/1 5.9.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.im.df.query.IJCJChemSearchOptions
JChemSearchOptions should be used directly.
public final class IJCJChemSearchOptions
Options for JChem structure searches.
Options are are 2 types:
To persist these use the encodeOptions() method which returns a List of String
values, such as isotope:d. Options of both types are converted to
String values by this method. The format used for the Strings is that used by
JChem seach.
To restore a persisted value use the setValue(String str) method, which will restore options of both types from their String values.
| Field Summary |
|---|
| Fields inherited from interface com.im.df.query.JChemSearchConstants |
|---|
JCHEM_SEARCH_OPTIONS, VALUE_STEREO_EXACT, VALUE_STEREO_OFF, VALUE_STEREO_ON |
| Constructor Summary | |
|---|---|
IJCJChemSearchOptions()
Deprecated. |
|
IJCJChemSearchOptions(IJCJChemSearchOptions opts)
Deprecated. Create search options based on an existing set of values |
|
| Method Summary | |
|---|---|
void |
clearValue(Integer key)
Deprecated. Clears the specified value. |
JChemSearchOptions |
createJChemSearchOptions()
Deprecated. |
List<String> |
encodeOptions()
Deprecated. Encode all current options in their string form. |
Integer |
getDoubleBondStereoSearchMode()
Deprecated. |
Integer |
getMaxExecutionTime()
Deprecated. |
Integer |
getMaxResultCount()
Deprecated. |
Boolean |
getReturnNonHits()
Deprecated. |
String |
getScreeningConfig()
Deprecated. |
int |
getSearchType()
Deprecated. |
Float |
getSimilarityThreshold()
Deprecated. |
String |
getStereoSearchMode()
Deprecated. |
Integer |
getValue(Integer key)
Deprecated. Gets the value for the specified key. |
void |
setDoubleBondStereoSearchMode(Integer value)
Deprecated. |
void |
setMaxExecutionTime(Integer value)
Deprecated. |
void |
setMaxResultCount(Integer value)
Deprecated. |
void |
setReturnNonHits(Boolean val)
Deprecated. |
void |
setScreeningConfig(String val)
Deprecated. |
void |
setSearchType(int searchType)
Deprecated. |
void |
setSimilarityThreshold(Float f)
Deprecated. |
void |
setStereoSearchMode(String value)
Deprecated. |
void |
setValue(Integer key,
Integer value)
Deprecated. Sets the specified value. |
void |
setValue(String str)
Deprecated. Set the value from its String form. |
void |
setValues(List<String> values)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IJCJChemSearchOptions()
public IJCJChemSearchOptions(IJCJChemSearchOptions opts)
opts - The options| Method Detail |
|---|
public void clearValue(Integer key)
key - The option to clear
public void setValue(Integer key,
Integer value)
key - The option to set e.g. SearchConstants.OPTION_CHARGE_MATCHINGvalue - The value for the option e.g. SearchConstants.CHARGE_MATCHING_EXACTpublic Integer getValue(Integer key)
key - The option to get e.g. SearchConstants.OPTION_CHARGE_MATCHING
public void setStereoSearchMode(String value)
public String getStereoSearchMode()
public int getSearchType()
public void setSearchType(int searchType)
public void setDoubleBondStereoSearchMode(Integer value)
public Integer getDoubleBondStereoSearchMode()
public Float getSimilarityThreshold()
public void setSimilarityThreshold(Float f)
public String getScreeningConfig()
public void setScreeningConfig(String val)
public void setMaxResultCount(Integer value)
public Integer getMaxResultCount()
public Boolean getReturnNonHits()
public void setReturnNonHits(Boolean val)
public void setMaxExecutionTime(Integer value)
public Integer getMaxExecutionTime()
public void setValue(String str)
str - The String. e.g. isotope:dpublic void setValues(List<String> values)
public List<String> encodeOptions()
public JChemSearchOptions createJChemSearchOptions()
|
com.im.df/1 5.9.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||