Class PlaceDescription

    • Constructor Detail

      • PlaceDescription

        public PlaceDescription()
    • Method Detail

      • confidence

        public PlaceDescription confidence​(URI confidence)
        Description copied from class: Conclusion
        Build up this conclusion with a confidence level.
        Overrides:
        confidence in class Subject
        Parameters:
        confidence - The confidence level.
        Returns:
        this.
      • source

        public PlaceDescription source​(SourceReference sourceReference)
        Description copied from class: Conclusion
        Build up this conclusion with a source reference.
        Overrides:
        source in class Subject
        Parameters:
        sourceReference - The source reference.
        Returns:
        this.
      • note

        public PlaceDescription note​(Note note)
        Description copied from class: Conclusion
        Build up this conclusion with a note.
        Overrides:
        note in class Subject
        Parameters:
        note - The note.
        Returns:
        this.
      • analysis

        public PlaceDescription analysis​(Document analysis)
        Description copied from class: Conclusion
        Add a reference to the analysis for this conclusion.
        Overrides:
        analysis in class Subject
        Parameters:
        analysis - The analysis.
        Returns:
        this.
      • analysis

        public PlaceDescription analysis​(URI analysis)
        Description copied from class: Conclusion
        Add a reference to the analysis for this conclusion.
        Overrides:
        analysis in class Subject
        Parameters:
        analysis - The analysis.
        Returns:
        this.
      • extracted

        public PlaceDescription extracted​(Boolean extracted)
        Description copied from class: Subject
        Build up this subject with an extracted flag.
        Overrides:
        extracted in class Subject
        Parameters:
        extracted - The extracted flag.
        Returns:
        this.
      • identifier

        public PlaceDescription identifier​(Identifier identifier)
        Description copied from class: Subject
        Build up this subject with an identifier.
        Overrides:
        identifier in class Subject
        Parameters:
        identifier - The identifier.
        Returns:
        this.
      • sortKey

        public PlaceDescription sortKey​(String sortKey)
        Description copied from class: Conclusion
        Build up this fact with a sort key.
        Overrides:
        sortKey in class Subject
        Parameters:
        sortKey - The sort key.
        Returns:
        this.
      • names

        public Stream<TextValue> names()
        Create a stream for the names.
        Returns:
        a stream for the names.
      • getNames

        public List<TextValue> getNames()
        An ordered list of standardized (or normalized), fully-qualified (in terms of what is known of the applicable jurisdictional hierarchy) names for this place that are applicable to this description of this place. The list MUST include at least one value. It is RECOMMENDED that instances include a single name and any equivalents from other cultural contexts; name variants should more typically be described in separate PlaceDescription instances. The list is assumed to be given in order of preference, with the most preferred value in the first position in the list.
        Returns:
        An ordered list of standardized (or normalized), fully-qualified (in terms of what is known of the applicable jurisdictional hierarchy) names for this place that are applicable to this description of this place.
      • setNames

        public void setNames​(List<TextValue> names)
        An ordered list of standardized (or normalized), fully-qualified (in terms of what is known of the applicable jurisdictional hierarchy) names for this place that are applicable to this description of this place. The list MUST include at least one value. It is RECOMMENDED that instances include a single name and any equivalents from other cultural contexts; name variants should more typically be described in separate PlaceDescription instances. The list is assumed to be given in order of preference, with the most preferred value in the first position in the list.
        Parameters:
        names - An ordered list of standardized (or normalized), fully-qualified (in terms of what is known of the applicable jurisdictional hierarchy) names for this place that are applicable to this description of this place.
      • name

        public PlaceDescription name​(TextValue name)
        Build out this description with a name.
        Parameters:
        name - The name.
        Returns:
        this.
      • name

        public PlaceDescription name​(String name)
        Build out this description with a name.
        Parameters:
        name - The name.
        Returns:
        this.
      • addName

        public void addName​(TextValue name)
        Add a name to the list of standardized names.
        Parameters:
        name - The name to be added.
      • getType

        public URI getType()
        An implementation-specific uniform resource identifier (URI) used to identify the type of a place (e.g., address, city, county, province, state, country, etc.).
        Returns:
        An implementation-specific uniform resource identifier (URI) used to identify the type of a place (e.g., address, city, county, province, state, country, etc.).
      • setType

        public void setType​(URI type)
        An implementation-specific uniform resource identifier (URI) used to identify the type of a place (e.g., address, city, county, province, state, country, etc.).
        Parameters:
        type - An implementation-specific uniform resource identifier (URI) used to identify the type of a place (e.g., address, city, county, province, state, country, etc.).
      • type

        public PlaceDescription type​(URI type)
        Build out this place description with a type.
        Parameters:
        type - The type.
        Returns:
        this.
      • getTemporalDescription

        public Date getTemporalDescription()
        A description of the time period to which this place description is relevant.
        Returns:
        A description of the time period to which this place description is relevant.
      • setTemporalDescription

        public void setTemporalDescription​(Date temporalDescription)
        A description of the time period to which this place description is relevant.
        Parameters:
        temporalDescription - A description of the time period to which this place description is relevant.
      • temporalDescription

        public PlaceDescription temporalDescription​(Date temporalDescription)
        Build out this place description with a temporal description.
        Parameters:
        temporalDescription - the temporal description.
        Returns:
        this.
      • getLatitude

        public Double getLatitude()
        Degrees north or south of the Equator (0.0 degrees). Values range from −90.0 degrees (south) to 90.0 degrees (north).
        Returns:
        Degrees north or south of the Equator.
      • setLatitude

        public void setLatitude​(Double latitude)
        Degrees north or south of the Equator (0.0 degrees). Values range from −90.0 degrees (south) to 90.0 degrees (north).
        Parameters:
        latitude - Degrees north or south of the Equator.
      • latitude

        public PlaceDescription latitude​(Double latitude)
        Build out this place description with a latitude.
        Parameters:
        latitude - The latitude.
        Returns:
        this.
      • getLongitude

        public Double getLongitude()
        Angular distance in degrees, relative to the Prime Meridian. Values range from −180.0 degrees (west of the Meridian) to 180.0 degrees (east of the Meridian).
        Returns:
        Angular distance in degrees, relative to the Prime Meridian.
      • setLongitude

        public void setLongitude​(Double longitude)
        Angular distance in degrees, relative to the Prime Meridian. Values range from −180.0 degrees (west of the Meridian) to 180.0 degrees (east of the Meridian).
        Parameters:
        longitude - Angular distance in degrees, relative to the Prime Meridian.
      • longitude

        public PlaceDescription longitude​(Double longitude)
        Build out this place description with a longitude.
        Parameters:
        longitude - The longitude.
        Returns:
        this.
      • getSpatialDescription

        public ResourceReference getSpatialDescription()
        A reference to a geospatial description of this place. It is RECOMMENDED that this description resolve to a KML document.
        Returns:
        A reference to a geospatial description of this place.
      • setSpatialDescription

        public void setSpatialDescription​(ResourceReference spatialDescription)
        A reference to a geospatial description of this place. It is RECOMMENDED that this description resolve to a KML document.
        Parameters:
        spatialDescription - A reference to a geospatial description of this place.
      • spatialDescription

        public PlaceDescription spatialDescription​(ResourceReference spatialDescription)
        Build out this place description with a spacial description.
        Parameters:
        spatialDescription - The spatial description.
        Returns:
        this
      • getJurisdiction

        public ResourceReference getJurisdiction()
        A reference to a description of the jurisdiction this place.
        Returns:
        A reference to a description of the jurisdiction this place.
      • setJurisdiction

        public void setJurisdiction​(ResourceReference jurisdiction)
        A reference to a description of the jurisdiction this place.
        Parameters:
        jurisdiction - A reference to a description of the jurisdiction this place.
      • jurisdiction

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

        public ResourceReference getPlace()
        A reference to the place being described.
        Returns:
        A reference to the place being described.
      • setPlace

        public void setPlace​(ResourceReference place)
        A reference to the place being described.
        Parameters:
        place - A reference to the place being described.
      • place

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

        public PlaceDisplayProperties getDisplayExtension()
        Display properties for the place. Display properties are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
        Returns:
        Display properties for the place. Display properties are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
      • setDisplayExtension

        public void setDisplayExtension​(PlaceDisplayProperties display)
        Display properties for the place. Display properties are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
        Parameters:
        display - Display properties for the place. Display properties are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
      • displayExtension

        public PlaceDescription displayExtension​(PlaceDisplayProperties display)
        Build out this place with a display exension.
        Parameters:
        display - the display.
        Returns:
        this
      • accept

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

        public void embed​(PlaceDescription place)
        Embed another place.
        Parameters:
        place - The place to embed.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object