Class BitolVerifiedStatement

java.lang.Object
org.odpi.openmetadata.frameworks.integration.bitol.common.BitolVerifiedStatement

public class BitolVerifiedStatement extends Object
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 Details

    • BitolVerifiedStatement

      public BitolVerifiedStatement()
      Default constructor
  • Method Details

    • getId

      public String getId()
      Return the stable identifier of the statement.
      Returns:
      String
    • setId

      public void setId(String id)
      Set up the stable identifier of the statement.
      Parameters:
      id - String
    • getQuestion

      public String getQuestion()
      Return the canonical question.
      Returns:
      String
    • setQuestion

      public void setQuestion(String question)
      Set up the canonical question.
      Parameters:
      question - String
    • getAnswer

      public String getAnswer()
      Return the expected response or result description; absent for an unanswered sample question.
      Returns:
      String
    • setAnswer

      public void setAnswer(String answer)
      Set up the expected response or result description; absent for an unanswered sample question.
      Parameters:
      answer - String
    • getAuthoritativeDefinitions

      public List<BitolAuthoritativeDefinition> 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

      public List<String> getTags()
      Return the tags attached to this statement.
      Returns:
      List
    • setTags

      public void setTags(List<String> tags)
      Set up the tags attached to this statement.
      Parameters:
      tags - List
    • getCustomProperties

      public List<BitolCustomProperty> getCustomProperties()
      Return the custom properties of this statement.
      Returns:
      List
    • setCustomProperties

      public void setCustomProperties(List<BitolCustomProperty> customProperties)
      Set up the custom properties of this statement.
      Parameters:
      customProperties - List
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int