| Constructor and Description |
|---|
ConfigurableIDFetcher()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurableIDFetcher |
chemDbStartsWithOrEquals(String dbStartsWithOrEquals)
Set to prefer collecting chemical IDs of such Xrefs
where the small molecules db starts with or equals given string,
ignoring case.
|
Set<String> |
fetchID(BioPAXElement ele)
Finds a String ID for the given element.
|
List<String> |
getChemDbStartsWithOrEquals() |
List<String> |
getSeqDbStartsWithOrEquals() |
ConfigurableIDFetcher |
seqDbStartsWithOrEquals(String dbStartsWithOrEquals)
Set to prefer collecting gene/sequence IDs of such Xrefs
where the db starts with or equals given string,
ignoring case.
|
ConfigurableIDFetcher |
useNameWhenNoDbMatch(boolean useNameWhenNoDbMatch)
Set the flag to use the entity reference's names
when no desired ID type can be found (none of xref.db
matched before, or there're no xrefs at all).
|
public ConfigurableIDFetcher seqDbStartsWithOrEquals(String dbStartsWithOrEquals)
dbStartsWithOrEquals - the Xref.db value or prefix (case-insensitive)public ConfigurableIDFetcher chemDbStartsWithOrEquals(String dbStartsWithOrEquals)
dbStartsWithOrEquals - the Xref.db value or prefix (case-insensitive)public ConfigurableIDFetcher useNameWhenNoDbMatch(boolean useNameWhenNoDbMatch)
useNameWhenNoDbMatch - true/false (default is 'true' - when this method's never been called)Copyright © 2017 BioPAX. All rights reserved.