Class EvidenceReference

    • Constructor Detail

      • EvidenceReference

        public EvidenceReference()
      • EvidenceReference

        public EvidenceReference​(URI resource)
      • EvidenceReference

        public EvidenceReference​(URI resource,
                                 String resourceId)
    • Method Detail

      • getResourceId

        public String getResourceId()
        The resource id of the resource being referenced. Used as an extension attribute when resolving the resource is inconvenient.
        Returns:
        The resource id of the resource being referenced.
      • setResourceId

        public void setResourceId​(String resourceId)
        The resource id of the resource being referenced. Used as an extension attribute when resolving the resource is inconvenient.
        Parameters:
        resourceId - The resource id of the resource being referenced.
      • resourceId

        public EvidenceReference resourceId​(String resourceId)
        Build up this reference with a resource id.
        Parameters:
        resourceId - The resource id.
        Returns:
        this.
      • resource

        public EvidenceReference resource​(URI resource)
        Build up this reference with a resource URI.
        Parameters:
        resource - The resource.
        Returns:
        this
      • getAttribution

        public Attribution getAttribution()
        Attribution metadata for this evidence reference.
        Specified by:
        getAttribution in interface Attributable
        Returns:
        Attribution metadata for evidence reference.
      • setAttribution

        public void setAttribution​(Attribution attribution)
        Attribution metadata for evidence reference.
        Specified by:
        setAttribution in interface Attributable
        Parameters:
        attribution - Attribution metadata for evidence reference.
      • attribution

        public EvidenceReference attribution​(Attribution attribution)
        Build up this evidence reference with an attribution.
        Parameters:
        attribution - The attribution.
        Returns:
        this.
      • accept

        public void accept​(GedcomxModelVisitor visitor)
        Accept a visitor.
        Parameters:
        visitor - The visitor.