Class PlaceReference

    • Constructor Detail

      • PlaceReference

        public PlaceReference()
    • Method Detail

      • getOriginal

        public String getOriginal()
        The original value as supplied by the user.
        Returns:
        The original value as supplied by the user.
      • setOriginal

        public void setOriginal​(String original)
        The original value as supplied by the user.
        Parameters:
        original - The original value as supplied by the user.
      • original

        public PlaceReference original​(String original)
        Build out this place reference with an original string.
        Parameters:
        original - The original string.
        Returns:
        this.
      • getDescriptionRef

        public URI getDescriptionRef()
        A reference to a description of the place being referenced.
        Returns:
        A reference to a description of the place being referenced.
      • setDescriptionRef

        public void setDescriptionRef​(URI descriptionRef)
        A reference to a description of the place being referenced.
        Parameters:
        descriptionRef - A reference to a description of the place being referenced.
      • description

        public PlaceReference description​(PlaceDescription description)
        Build out this place reference with a reference to a place description.
        Parameters:
        description - The reference to the place description.
        Returns:
        this.
      • description

        public PlaceReference description​(URI ref)
        Build out this place reference with a reference to a place description.
        Parameters:
        ref - The reference to the place description.
        Returns:
        this.
      • getConfidence

        public URI getConfidence()
        The level of confidence the contributor has about the data.
        Returns:
        The level of confidence the contributor has about the data.
      • setConfidence

        public void setConfidence​(URI confidence)
        The level of confidence the contributor has about the data.
        Parameters:
        confidence - The level of confidence the contributor has about the data.
      • confidence

        public PlaceReference confidence​(URI confidence)
        Build up this conclusion with a confidence level.
        Parameters:
        confidence - The confidence level.
        Returns:
        this.
      • confidence

        public PlaceReference confidence​(ConfidenceLevel confidence)
        Build up this conclusion with a confidence level.
        Parameters:
        confidence - The confidence level.
        Returns:
        this.
      • setKnownConfidenceLevel

        public void setKnownConfidenceLevel​(ConfidenceLevel level)
        Set the confidence level from a known enumeration of confidence levels.
        Parameters:
        level - The known level.
      • normalizedExtensions

        public Stream<TextValue> normalizedExtensions()
        Create a stream for the normalized value extensions.
        Returns:
        a stream for the normalized value extensions.
      • getNormalizedExtensions

        public List<TextValue> getNormalizedExtensions()
        The list of normalized values for the place, provided for display purposes by the application. Normalized values are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
        Returns:
        The list of normalized values for the place, provided for display purposes by the application. Normalized values are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
      • setNormalizedExtensions

        public void setNormalizedExtensions​(List<TextValue> normalized)
        The list of normalized values for the place, provided for display purposes by the application. Normalized values are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
        Parameters:
        normalized - The list of normalized values for the place, provided for display purposes by the application. Normalized values are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
      • addNormalizedExtension

        public void addNormalizedExtension​(TextValue normalized)
        Add a normalized value.
        Parameters:
        normalized - The normalized value.
      • normalized

        public PlaceReference normalized​(String normalized)
        Build out this place reference with an normalized string.
        Parameters:
        normalized - The normalized string.
        Returns:
        this.
      • getFields

        public List<Field> getFields()
        Get the fields being used as evidence.
        Specified by:
        getFields in interface HasFields
        Returns:
        The references to the record fields being used as evidence.
      • setFields

        public void setFields​(List<Field> fields)
        Set the list of fields being used as evidence.
        Specified by:
        setFields in interface HasFields
        Parameters:
        fields - - List of fields
      • addField

        public void addField​(Field field)
        Add a reference to the record field values being used as evidence.
        Parameters:
        field - The field to be added.
      • field

        public PlaceReference field​(Field field)
        Build out this place reference with a field.
        Parameters:
        field - The field.
        Returns:
        this.
      • accept

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

        public int hashCode()
        Overrides:
        hashCode in class Object