Class DefaultSubjectAreaNodeClients

java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.client.nodes.DefaultSubjectAreaNodeClients
All Implemented Interfaces:
SubjectAreaNodeClients

public class DefaultSubjectAreaNodeClients extends Object implements SubjectAreaNodeClients
The OMAS client library implementation of the Subject Area OMAS. This interface provides entities Node authoring interface for subject area experts.
  • Constructor Details

    • DefaultSubjectAreaNodeClients

      public DefaultSubjectAreaNodeClients(SubjectAreaRestClient subjectAreaRestClient, String... packagesToScan)
      Parameters:
      packagesToScan - - search packages for finding classes placed by annotation SubjectAreaNodeClient
      subjectAreaRestClient - - rest client for Subject Area OMAS REST APIs
    • DefaultSubjectAreaNodeClients

      public 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.
      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: SubjectAreaNodeClients
      Get the subject area glossary API class - use this class to issue glossary calls.
      Specified by:
      glossaries in interface SubjectAreaNodeClients
      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: SubjectAreaNodeClients
      Get the subject area term API class - use this class to issue term calls.
      Specified by:
      terms in interface SubjectAreaNodeClients
      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: SubjectAreaNodeClients
      Get the subject area category API class - use this class to issue category calls.
      Specified by:
      categories in interface SubjectAreaNodeClients
      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: SubjectAreaNodeClients
      Get the subject area project API class - use this class to issue project calls.
      Specified by:
      projects in interface SubjectAreaNodeClients
      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 - - 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