Class DiscoveryAnalysisReportStore

java.lang.Object
org.odpi.openmetadata.frameworks.discovery.DiscoveryAnalysisReportStore

public abstract class DiscoveryAnalysisReportStore extends Object
DiscoveryAnalysisReportStore provides a client to the open metadata repository that manages the content of the discovery analysis report. It is part of the DiscoveryAnnotationStore.
  • Field Details

    • userId

      protected String userId
    • discoveryReportGUID

      protected String discoveryReportGUID
    • discoveryRequestStatus

      protected DiscoveryRequestStatus discoveryRequestStatus
    • reportQualifiedName

      protected String reportQualifiedName
    • reportDisplayName

      protected String reportDisplayName
    • reportDescription

      protected String reportDescription
    • creationDate

      protected Date creationDate
    • analysisStep

      protected String analysisStep
  • Constructor Details

    • DiscoveryAnalysisReportStore

      protected DiscoveryAnalysisReportStore()
      Default constructor
  • Method Details

    • getDiscoveryReportGUID

      public String getDiscoveryReportGUID()
      Return the report identifier for this discovery context. Any new annotations added to tis discovery context will be linked to this report.
      Returns:
      unique identifier (guid) of the new discovery report.
    • getDiscoveryRequestStatus

      Return the current status of the discovery request - this is stored in the report.
      Returns:
      current status of the discovery request/report
      Throws:
      InvalidParameterException - one of the parameters is invalid
      UserNotAuthorizedException - the user id not authorized to issue this request
      PropertyServerException - there was a problem retrieving annotations from the annotation store.
    • setDiscoveryRequestStatus

      public void setDiscoveryRequestStatus(DiscoveryRequestStatus discoveryRequestStatus) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
      Set up the current status of the discovery request - this is stored in the report so it can be monitored by the originator of the request.
      Parameters:
      discoveryRequestStatus - new status of the discovery request/report
      Throws:
      InvalidParameterException - one of the parameters is invalid
      UserNotAuthorizedException - the user id not authorized to issue this request
      PropertyServerException - there was a problem retrieving annotations from the annotation store.
    • getAnalysisStep

      public String getAnalysisStep()
      Return the locally defined analysis step. This value is used in annotations generated in this phase.
      Returns:
      name of analysis step
    • setAnalysisStep

      public void setAnalysisStep(String analysisStep)
      Set up the name of the current analysis step.
      Parameters:
      analysisStep - name
    • getReportQualifiedName

      public String getReportQualifiedName()
      Return the unique name of the discovery analysis report that will result from this discovery request.
      Returns:
      String report name
    • setReportQualifiedName

      public void setReportQualifiedName(String reportName)
      Set up the unique name of the discovery analysis report that will result from this discovery request. The discovery engine will set up a default fully-qualified name. This method enables it to be over-ridden.
      Parameters:
      reportName - String report name
    • getReportDisplayName

      public String getReportDisplayName()
      Return the display name of the discovery analysis report that will result from this discovery request.
      Returns:
      String report name
    • setReportDisplayName

      public void setReportDisplayName(String reportName)
      Set up the display name of the discovery analysis report that will result from this discovery request. The default name is null.
      Parameters:
      reportName - String report name
    • getReportDescription

      public String getReportDescription()
      Return the description for the discovery analysis report that will result from this discovery request. The default value is null.
      Returns:
      String report description
    • setReportDescription

      public void setReportDescription(String reportDescription)
      Set up the description for the discovery analysis report that will result from this discovery request.
      Parameters:
      reportDescription - String report description
    • getCreationDate

      public Date getCreationDate()
      Return the creation date for the discovery analysis report that will result from this discovery request.
      Returns:
      Date that the report was created.