Class OpenMetadataConformanceTestEvidence

java.lang.Object
org.odpi.openmetadata.conformance.beans.OpenMetadataConformanceTestEvidence
All Implemented Interfaces:
Serializable

public class OpenMetadataConformanceTestEvidence extends Object implements Serializable
OpenMetadataConformanceTestEvidence is a bean for describing a single piece of the test evidence that a particular conformance requirement is being met that is generated by one of the conformance suite test cases.
See Also:
  • Constructor Details

    • OpenMetadataConformanceTestEvidence

      public OpenMetadataConformanceTestEvidence()
      Default Constructor used when converting from JSON
  • Method Details

    • getAssertionId

      public String getAssertionId()
      Return the ID for the test, which can be cross-referenced with the specific testCaseId for additional details.
      Returns:
      string ID
    • setAssertionId

      public void setAssertionId(String assertionId)
      Set up the assertion ID that defines the test.
      Parameters:
      assertionId - string ID
    • getProfileId

      public Integer getProfileId()
      Return the identifier of the profile that this test evidence supports.
      Returns:
      string id
    • setProfileId

      public void setProfileId(Integer profileId)
      Set up the identifier of the profile that this test evidence supports.
      Parameters:
      profileId - string id
    • getRequirementId

      public Integer getRequirementId()
      Return the identifier of the profile's requirement that this test evidence supports.
      Returns:
      string id
    • setRequirementId

      public void setRequirementId(Integer requirementId)
      Set up the identifier of the profile's requirement that this test evidence supports.
      Parameters:
      requirementId - string id
    • getTestCaseId

      public String getTestCaseId()
      Return the identifier of the test case that produced this test evidence.
      Returns:
      string id
    • setTestCaseId

      public void setTestCaseId(String testCaseId)
      Set up the identifier of the test case that produced this test evidence.
      Parameters:
      testCaseId - string id
    • getTestCaseName

      public String getTestCaseName()
      Return the name of the test case that produced this test evidence.
      Returns:
      string name
    • setTestCaseName

      public void setTestCaseName(String testCaseName)
      Set up the name of the test case that produced this test evidence.
      Parameters:
      testCaseName - string name
    • getTestCaseDescriptionURL

      public String getTestCaseDescriptionURL()
      Return the url for the documentation of the test case that produced this test evidence.
      Returns:
      url
    • setTestCaseDescriptionURL

      public void setTestCaseDescriptionURL(String testCaseDescriptionURL)
      Set up the url for the documentation of the test case that produced this test evidence.
      Parameters:
      testCaseDescriptionURL - url
    • getTestEvidenceType

      public OpenMetadataConformanceTestEvidenceType getTestEvidenceType()
      Return the enum that describes the type of test evidence that this represents.
      Returns:
      enum
    • setTestEvidenceType

      public void setTestEvidenceType(OpenMetadataConformanceTestEvidenceType testEvidenceType)
      Set up the enum that describes the type of test evidence that this represents.
      Parameters:
      testEvidenceType - enum
    • getConformanceException

      public ExceptionBean getConformanceException()
      Return details of an unexpected exception that interrupted the test.
      Returns:
      exception bean
    • setConformanceException

      public void setConformanceException(ExceptionBean conformanceException)
      Set up details of an unexpected exception that interrupted the test.
      Parameters:
      conformanceException - bean with exception properties
    • getPropertyName

      public String getPropertyName()
      Return the name of a discovered property.
      Returns:
      string name
    • setPropertyName

      public void setPropertyName(String propertyName)
      Set up the name of a discovered property.
      Parameters:
      propertyName - string name
    • getPropertyValue

      public Object getPropertyValue()
      Return the value of a discovered property.
      Returns:
      object
    • setPropertyValue

      public void setPropertyValue(Object propertyValue)
      Set up the value of a discovered property.
      Parameters:
      propertyValue - object
    • getMethodName

      public String getMethodName()
      Return the name of the method that this evidence supports.
      Returns:
      String
    • setMethodName

      public void setMethodName(String methodName)
      Set up the name of the method that this evidence supports.
      Parameters:
      methodName - that this evidence supports
    • getElapsedTime

      public Long getElapsedTime()
      Return the elapsed time taken to execute the specific test.
      Returns:
      integer giving elapsed time in milliseconds
    • setElapsedTime

      public void setElapsedTime(Long elapsedTime)
      Set up the elapsed time to execute a specific test.
      Parameters:
      elapsedTime - in milliseconds
    • toString

      public String toString()
      toString() JSON-style
      Overrides:
      toString in class Object
      Returns:
      string description