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 org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category>
SubjectAreaNodeClient<C>Get the subject area category API class - use this class to issue category calls.<T extends org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Node>
SubjectAreaNodeClient<T><G extends org.odpi.openmetadata.accessservices.subjectarea.properties.objects.glossary.Glossary>
SubjectAreaNodeClient<G>Get the subject area glossary API class - use this class to issue glossary calls.<P extends org.odpi.openmetadata.accessservices.subjectarea.properties.objects.project.Project>
SubjectAreaProjectClient<P>projects()Get the subject area project API class - use this class to issue project calls.<T extends org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.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 annotationSubjectAreaNodeClientsubjectAreaRestClient- - 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
public <G extends org.odpi.openmetadata.accessservices.subjectarea.properties.objects.glossary.Glossary> SubjectAreaNodeClient<G> glossaries()Description copied from interface:SubjectAreaNodeClientsGet the subject area glossary API class - use this class to issue glossary calls.- Specified by:
glossariesin interfaceSubjectAreaNodeClients- Type Parameters:
G- type for supplied and return.- Returns:
- subject area glossary API class
-
terms
public <T extends org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term> SubjectAreaNodeClient<T> terms()Description copied from interface:SubjectAreaNodeClientsGet the subject area term API class - use this class to issue term calls.- Specified by:
termsin interfaceSubjectAreaNodeClients- Type Parameters:
T- type for supplied and return.- Returns:
- subject area term API class
-
categories
public <C extends org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category> SubjectAreaNodeClient<C> categories()Description copied from interface:SubjectAreaNodeClientsGet the subject area category API class - use this class to issue category calls.- Specified by:
categoriesin interfaceSubjectAreaNodeClients- Type Parameters:
C- type for supplied and return.- Returns:
- subject area category API class
-
projects
public <P extends org.odpi.openmetadata.accessservices.subjectarea.properties.objects.project.Project> SubjectAreaProjectClient<P> projects()Description copied from interface:SubjectAreaNodeClientsGet the subject area project API class - use this class to issue project calls.- Specified by:
projectsin interfaceSubjectAreaNodeClients- Type Parameters:
P- type for supplied and return.- Returns:
- subject area project API class
-
getClient
public <T extends org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Node> SubjectAreaNodeClient<T> getClient(Class<T> clazz) - Type Parameters:
T- -Relationshiptype 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
-