public class DefaultSubjectAreaNodeClients extends Object implements SubjectAreaNodeClients
Node authoring interface for subject area experts.| Constructor and Description |
|---|
DefaultSubjectAreaNodeClients(SubjectAreaRestClient subjectAreaRestClient)
The constructor uses the current package to scan "org.odpi.openmetadata.accessservices.subjectarea.client.nodes"
to search for classes placed by annotation
SubjectAreaNodeClient. |
DefaultSubjectAreaNodeClients(SubjectAreaRestClient subjectAreaRestClient,
String... packagesToScan) |
| Modifier and Type | Method and Description |
|---|---|
<C extends Category> |
categories()
Get the subject area category API class - use this class to issue category calls.
|
<T extends Node> |
getClient(Class<T> clazz) |
<G extends Glossary> |
glossaries()
Get the subject area glossary API class - use this class to issue glossary calls.
|
<P extends Project> |
projects()
Get the subject area project API class - use this class to issue project calls.
|
<T extends Term> |
terms()
Get the subject area term API class - use this class to issue term calls.
|
public DefaultSubjectAreaNodeClients(SubjectAreaRestClient subjectAreaRestClient, String... packagesToScan)
packagesToScan - - search packages for finding classes placed by annotation SubjectAreaNodeClientsubjectAreaRestClient - - rest client for Subject Area OMAS REST APIspublic DefaultSubjectAreaNodeClients(SubjectAreaRestClient subjectAreaRestClient)
SubjectAreaNodeClient.subjectAreaRestClient - - rest client for Subject Area OMAS REST APIspublic <G extends Glossary> SubjectAreaNodeClient<G> glossaries()
SubjectAreaNodeClientsglossaries in interface SubjectAreaNodeClientsG - type for supplied and return.public <T extends Term> SubjectAreaNodeClient<T> terms()
SubjectAreaNodeClientsterms in interface SubjectAreaNodeClientsT - type for supplied and return.public <C extends Category> SubjectAreaNodeClient<C> categories()
SubjectAreaNodeClientscategories in interface SubjectAreaNodeClientsC - type for supplied and return.public <P extends Project> SubjectAreaProjectClient<P> projects()
SubjectAreaNodeClientsprojects in interface SubjectAreaNodeClientsP - type for supplied and return.public <T extends Node> SubjectAreaNodeClient<T> getClient(Class<T> clazz)
T - - Line type of objectclazz - - the class for which you want to get the client from cacheCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.