public class OntologyClient extends CellClient
| Modifier and Type | Field and Description |
|---|---|
static String |
XMLNS |
client, serviceUrl| Constructor and Description |
|---|
OntologyClient(Li2b2Client client,
URL serviceUrl) |
| Modifier and Type | Method and Description |
|---|---|
Concept[] |
getCategories()
Retrieve available ontology categories.
|
Concept[] |
getChildren(String parentKey) |
Concept[] |
getChildren(String parentKey,
boolean includeMetadata) |
Concept[] |
getSchemes() |
appendOptionalElement, appendTextElement, createConnection, createRequest, createRequestMessage, createRequestMessage, createRequestMessage, getOutputCharset, getServiceURL, newBuilder, submitRequest, submitRequest, submitRequestWithResponseContentpublic static final String XMLNS
public OntologyClient(Li2b2Client client, URL serviceUrl)
public Concept[] getCategories() throws HiveException
HiveException - application layer error, e.g. session expired, unexpected response contentpublic Concept[] getSchemes() throws HiveException
HiveExceptionpublic Concept[] getChildren(String parentKey, boolean includeMetadata) throws HiveException
HiveExceptionpublic Concept[] getChildren(String parentKey) throws HiveException
HiveExceptionCopyright © 2013–2020 R.W.Majeed. All rights reserved.