Class OMRSCohortRegistryStoreConnectorBase

java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.repositoryservices.connectors.stores.cohortregistrystore.OMRSCohortRegistryStoreConnectorBase
All Implemented Interfaces:
AuditLoggingComponent, SecureConnectorExtension, VirtualConnectorExtension, OMRSCohortRegistryStore
Direct Known Subclasses:
FileBasedRegistryStoreConnector

public abstract class OMRSCohortRegistryStoreConnectorBase extends ConnectorBase implements OMRSCohortRegistryStore, AuditLoggingComponent
OMRSCohortRegistryStoreConnectorBase provides the base class for a cohort registry store. It defines the specific interface for this type of connector.
  • Field Details

    • auditLog

      protected AuditLog auditLog
  • Constructor Details

    • OMRSCohortRegistryStoreConnectorBase

      public OMRSCohortRegistryStoreConnectorBase()
  • Method Details

    • setAuditLog

      public void setAuditLog(AuditLog auditLog)
      Receive an audit log object that can be used to record audit log messages. The caller has initialized it with the correct component description and log destinations.
      Specified by:
      setAuditLog in interface AuditLoggingComponent
      Parameters:
      auditLog - audit log object
    • getConnectorComponentDescription

      public ComponentDescription getConnectorComponentDescription()
      Return the component description that is used by this connector in the audit log.
      Specified by:
      getConnectorComponentDescription in interface AuditLoggingComponent
      Returns:
      id, name, description, wiki page URL.