Interface ProvenanceLink.Builder

  • Method Details

    • relation

      ProvenanceLink.Builder relation(String relation)

      How the contributor got the record.

      Parameters:
      relation - How the contributor got the record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • relation

      How the contributor got the record.

      Parameters:
      relation - How the contributor got the record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceId

      ProvenanceLink.Builder sourceId(String sourceId)

      The source of the record. Not always a URI. On publishedFrom it's the value of the record's identifier union member, identifier.uri or identifier.domain, unchanged. On discoveredFrom it's the name the registry gave the partner source when it was configured for crawling, not a URL.

      Parameters:
      sourceId - The source of the record. Not always a URI. On publishedFrom it's the value of the record's identifier union member, identifier.uri or identifier.domain, unchanged. On discoveredFrom it's the name the registry gave the partner source when it was configured for crawling, not a URL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.