Class BitolVerifiedStatement
java.lang.Object
org.odpi.openmetadata.frameworks.integration.bitol.common.BitolVerifiedStatement
This class represents a canonical question, optionally with its verified answer, in the AI context of a data contract, schema object, data product or output port (RFC 0038).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the expected response or result description; absent for an unanswered sample question.Return links to the sources behind this statement.Return the custom properties of this statement.getId()Return the stable identifier of the statement.Return the canonical question.getTags()Return the tags attached to this statement.inthashCode()Return hash code based on properties.voidSet up the expected response or result description; absent for an unanswered sample question.voidsetAuthoritativeDefinitions(List<BitolAuthoritativeDefinition> authoritativeDefinitions) Set up links to the sources behind this statement.voidsetCustomProperties(List<BitolCustomProperty> customProperties) Set up the custom properties of this statement.voidSet up the stable identifier of the statement.voidsetQuestion(String question) Set up the canonical question.voidSet up the tags attached to this statement.toString()Standard toString method.
-
Constructor Details
-
BitolVerifiedStatement
public BitolVerifiedStatement()Default constructor
-
-
Method Details
-
getId
Return the stable identifier of the statement.- Returns:
- String
-
setId
Set up the stable identifier of the statement.- Parameters:
id- String
-
getQuestion
Return the canonical question.- Returns:
- String
-
setQuestion
Set up the canonical question.- Parameters:
question- String
-
getAnswer
Return the expected response or result description; absent for an unanswered sample question.- Returns:
- String
-
setAnswer
Set up the expected response or result description; absent for an unanswered sample question.- Parameters:
answer- String
-
getAuthoritativeDefinitions
Return links to the sources behind this statement.- Returns:
- List
-
setAuthoritativeDefinitions
public void setAuthoritativeDefinitions(List<BitolAuthoritativeDefinition> authoritativeDefinitions) Set up links to the sources behind this statement.- Parameters:
authoritativeDefinitions- List
-
getTags
Return the tags attached to this statement.- Returns:
- List
-
setTags
Set up the tags attached to this statement.- Parameters:
tags- List
-
getCustomProperties
Return the custom properties of this statement.- Returns:
- List
-
setCustomProperties
Set up the custom properties of this statement.- Parameters:
customProperties- List
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-