Class RecordSet

    • Constructor Detail

      • RecordSet

        public RecordSet()
    • Method Detail

      • lang

        public RecordSet lang​(String lang)
        Build out this record set with a lang.
        Parameters:
        lang - The lang.
        Returns:
        this.
      • getMetadata

        public Gedcomx getMetadata()
        Metadata about this record set; shared among all records in the set.
        Returns:
        Metadata about this record set; shared among all records in the set.
      • setMetadata

        public void setMetadata​(Gedcomx metadata)
        Metadata about this record set; shared among all records in the set.
        Parameters:
        metadata - Metadata about this record set; shared among all records in the set.
      • metadata

        public RecordSet metadata​(Gedcomx metadata)
        Build out this record set with metadata.
        Parameters:
        metadata - The metadata.
        Returns:
        this.
      • records

        public Stream<Gedcomx> records()
        Create a stream for the records.
        Returns:
        a stream for the records.
      • getRecords

        public List<Gedcomx> getRecords()
        The records included in this genealogical data set.
        Returns:
        The records included in this genealogical data set.
      • setRecords

        public void setRecords​(List<Gedcomx> records)
        The records included in this genealogical data set.
        Parameters:
        records - The records included in this genealogical data set.
      • record

        public RecordSet record​(Gedcomx record)
        Build out this record set with a record.
        Parameters:
        record - The record.
        Returns:
        this.