Class DefaultSubjectAreaNodeClients
java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.client.nodes.DefaultSubjectAreaNodeClients
- All Implemented Interfaces:
SubjectAreaNodeClients
The OMAS client library implementation of the Subject Area OMAS.
This interface provides entities
Node
authoring interface for subject area experts.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSubjectAreaNodeClients
(SubjectAreaRestClient subjectAreaRestClient) The constructor uses the current package to scan "org.odpi.openmetadata.accessservices.subjectarea.client.nodes" to search for classes placed by annotationSubjectAreaNodeClient
.DefaultSubjectAreaNodeClients
(SubjectAreaRestClient subjectAreaRestClient, String... packagesToScan) -
Method Summary
Modifier and TypeMethodDescription<C extends Category>
SubjectAreaNodeClient<C>Get the subject area category API class - use this class to issue category calls.<T extends Node>
SubjectAreaNodeClient<T><G extends Glossary>
SubjectAreaNodeClient<G>Get the subject area glossary API class - use this class to issue glossary calls.<P extends Project>
SubjectAreaProjectClient<P>projects()
Get the subject area project API class - use this class to issue project calls.<T extends Term>
SubjectAreaNodeClient<T>terms()
Get the subject area term API class - use this class to issue term calls.
-
Constructor Details
-
DefaultSubjectAreaNodeClients
public DefaultSubjectAreaNodeClients(SubjectAreaRestClient subjectAreaRestClient, String... packagesToScan) - Parameters:
packagesToScan
- - search packages for finding classes placed by annotationSubjectAreaNodeClient
subjectAreaRestClient
- - rest client for Subject Area OMAS REST APIs
-
DefaultSubjectAreaNodeClients
The constructor uses the current package to scan "org.odpi.openmetadata.accessservices.subjectarea.client.nodes" to search for classes placed by annotationSubjectAreaNodeClient
.- Parameters:
subjectAreaRestClient
- - rest client for Subject Area OMAS REST APIs
-
-
Method Details
-
glossaries
Description copied from interface:SubjectAreaNodeClients
Get the subject area glossary API class - use this class to issue glossary calls.- Specified by:
glossaries
in interfaceSubjectAreaNodeClients
- Type Parameters:
G
- type for supplied and return.- Returns:
- subject area glossary API class
-
terms
Description copied from interface:SubjectAreaNodeClients
Get the subject area term API class - use this class to issue term calls.- Specified by:
terms
in interfaceSubjectAreaNodeClients
- Type Parameters:
T
- type for supplied and return.- Returns:
- subject area term API class
-
categories
Description copied from interface:SubjectAreaNodeClients
Get the subject area category API class - use this class to issue category calls.- Specified by:
categories
in interfaceSubjectAreaNodeClients
- Type Parameters:
C
- type for supplied and return.- Returns:
- subject area category API class
-
projects
Description copied from interface:SubjectAreaNodeClients
Get the subject area project API class - use this class to issue project calls.- Specified by:
projects
in interfaceSubjectAreaNodeClients
- Type Parameters:
P
- type for supplied and return.- Returns:
- subject area project API class
-
getClient
- Type Parameters:
T
- -Relationship
type of object- Parameters:
clazz
- - the class for which you want to get the client from cache- Returns:
- SubjectAreaNodeClient or null if this client is not present
-