Class OpenMetadataConformanceTestEvidence
java.lang.Object
org.odpi.openmetadata.conformance.beans.OpenMetadataConformanceTestEvidence
- All Implemented Interfaces:
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 Summary
ConstructorDescriptionDefault Constructor used when converting from JSON -
Method Summary
Modifier and TypeMethodDescriptionReturn the ID for the test, which can be cross-referenced with the specific testCaseId for additional details.Return details of an unexpected exception that interrupted the test.Return the elapsed time taken to execute the specific test.Return the name of the method that this evidence supports.Return the identifier of the profile that this test evidence supports.Return the name of a discovered property.Return the value of a discovered property.Return the identifier of the profile's requirement that this test evidence supports.Return the url for the documentation of the test case that produced this test evidence.Return the identifier of the test case that produced this test evidence.Return the name of the test case that produced this test evidence.Return the enum that describes the type of test evidence that this represents.void
setAssertionId
(String assertionId) Set up the assertion ID that defines the test.void
setConformanceException
(ExceptionBean conformanceException) Set up details of an unexpected exception that interrupted the test.void
setElapsedTime
(Long elapsedTime) Set up the elapsed time to execute a specific test.void
setMethodName
(String methodName) Set up the name of the method that this evidence supports.void
setProfileId
(Integer profileId) Set up the identifier of the profile that this test evidence supports.void
setPropertyName
(String propertyName) Set up the name of a discovered property.void
setPropertyValue
(Object propertyValue) Set up the value of a discovered property.void
setRequirementId
(Integer requirementId) Set up the identifier of the profile's requirement that this test evidence supports.void
setTestCaseDescriptionURL
(String testCaseDescriptionURL) Set up the url for the documentation of the test case that produced this test evidence.void
setTestCaseId
(String testCaseId) Set up the identifier of the test case that produced this test evidence.void
setTestCaseName
(String testCaseName) Set up the name of the test case that produced this test evidence.void
setTestEvidenceType
(OpenMetadataConformanceTestEvidenceType testEvidenceType) Set up the enum that describes the type of test evidence that this represents.toString()
toString() JSON-style
-
Constructor Details
-
OpenMetadataConformanceTestEvidence
public OpenMetadataConformanceTestEvidence()Default Constructor used when converting from JSON
-
-
Method Details
-
getAssertionId
Return the ID for the test, which can be cross-referenced with the specific testCaseId for additional details.- Returns:
- string ID
-
setAssertionId
Set up the assertion ID that defines the test.- Parameters:
assertionId
- string ID
-
getProfileId
Return the identifier of the profile that this test evidence supports.- Returns:
- string id
-
setProfileId
Set up the identifier of the profile that this test evidence supports.- Parameters:
profileId
- string id
-
getRequirementId
Return the identifier of the profile's requirement that this test evidence supports.- Returns:
- string id
-
setRequirementId
Set up the identifier of the profile's requirement that this test evidence supports.- Parameters:
requirementId
- string id
-
getTestCaseId
Return the identifier of the test case that produced this test evidence.- Returns:
- string id
-
setTestCaseId
Set up the identifier of the test case that produced this test evidence.- Parameters:
testCaseId
- string id
-
getTestCaseName
Return the name of the test case that produced this test evidence.- Returns:
- string name
-
setTestCaseName
Set up the name of the test case that produced this test evidence.- Parameters:
testCaseName
- string name
-
getTestCaseDescriptionURL
Return the url for the documentation of the test case that produced this test evidence.- Returns:
- url
-
setTestCaseDescriptionURL
Set up the url for the documentation of the test case that produced this test evidence.- Parameters:
testCaseDescriptionURL
- url
-
getTestEvidenceType
Return the enum that describes the type of test evidence that this represents.- Returns:
- enum
-
setTestEvidenceType
Set up the enum that describes the type of test evidence that this represents.- Parameters:
testEvidenceType
- enum
-
getConformanceException
Return details of an unexpected exception that interrupted the test.- Returns:
- exception bean
-
setConformanceException
Set up details of an unexpected exception that interrupted the test.- Parameters:
conformanceException
- bean with exception properties
-
getPropertyName
Return the name of a discovered property.- Returns:
- string name
-
setPropertyName
Set up the name of a discovered property.- Parameters:
propertyName
- string name
-
getPropertyValue
Return the value of a discovered property.- Returns:
- object
-
setPropertyValue
Set up the value of a discovered property.- Parameters:
propertyValue
- object
-
getMethodName
Return the name of the method that this evidence supports.- Returns:
- String
-
setMethodName
Set up the name of the method that this evidence supports.- Parameters:
methodName
- that this evidence supports
-
getElapsedTime
Return the elapsed time taken to execute the specific test.- Returns:
- integer giving elapsed time in milliseconds
-
setElapsedTime
Set up the elapsed time to execute a specific test.- Parameters:
elapsedTime
- in milliseconds
-
toString
toString() JSON-style
-