Interface OntologyValidationIssue.Builder

  • Method Details

    • code

      A code that identifies the issue, such as RDF_PARSE_ERROR or UNMAPPABLE_CLASS. New codes can be added, so handle a code that you don't recognize.

      Parameters:
      code - A code that identifies the issue, such as RDF_PARSE_ERROR or UNMAPPABLE_CLASS. New codes can be added, so handle a code that you don't recognize.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      A human-readable description of the issue.

      Parameters:
      message - A human-readable description of the issue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • line

      1-based line in the uploaded source, when the failure is attributable to a specific triple.

      Parameters:
      line - 1-based line in the uploaded source, when the failure is attributable to a specific triple.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subject

      What the issue is about, when attributable. From an ontology operation, such as GetOntology: the offending subject/predicate IRI. In the draft of an induced ontology, the IRI of a term.

      Parameters:
      subject - What the issue is about, when attributable. From an ontology operation, such as GetOntology: the offending subject/predicate IRI. In the draft of an induced ontology, the IRI of a term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.