Package org.gedcomx.records
Class RecordSet
java.lang.Object
org.gedcomx.common.ExtensibleData
org.gedcomx.links.HypermediaEnabledData
org.gedcomx.records.RecordSet
- All Implemented Interfaces:
HasTransientProperties,SupportsLinks,SupportsExtensionElements
The GEDCOM X bulk record data formats are used to exchange bulk genealogical data sets, grouped into records.
- Author:
- Ryan Heaton
-
Field Summary
Fields inherited from class org.gedcomx.common.ExtensibleData
extensionElements, transientProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextensionElement(Object element) getLang()The language of this genealogical data set.Metadata about this record set; shared among all records in the set.The records included in this genealogical data set.Build up this object with an id.Build out this record set with a lang.Build up this data with a link.Build up this data with a link.Build out this record set with metadata.Build out this record set with a record.records()Create a stream for the records.voidThe language of this genealogical data set.voidsetMetadata(Gedcomx metadata) Metadata about this record set; shared among all records in the set.voidsetRecords(List<Gedcomx> records) The records included in this genealogical data set.Methods inherited from class org.gedcomx.links.HypermediaEnabledData
addLink, addLink, addTemplatedLink, embed, getLink, getLinks, getLinks, setLinksMethods inherited from class org.gedcomx.common.ExtensibleData
addExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientProperty, toString
-
Constructor Details
-
RecordSet
public RecordSet() -
RecordSet
-
-
Method Details
-
id
Description copied from class:ExtensibleDataBuild up this object with an id.- Overrides:
idin classExtensibleData- Parameters:
id- The id.- Returns:
- this.
-
extensionElement
- Overrides:
extensionElementin classExtensibleData
-
link
Description copied from class:HypermediaEnabledDataBuild up this data with a link.- Overrides:
linkin classHypermediaEnabledData- Parameters:
rel- The rel.href- The href.- Returns:
- this.
-
link
Description copied from class:HypermediaEnabledDataBuild up this data with a link.- Overrides:
linkin classHypermediaEnabledData- Parameters:
link- The link.- Returns:
- this.
-
getLang
The language of this genealogical data set. See http://www.w3.org/International/articles/language-tags/. Note that some language-enabled elements MAY override the language.- Returns:
- The language of the genealogical data.
-
setLang
The language of this genealogical data set. See http://www.w3.org/International/articles/language-tags/. Note that some language-enabled elements MAY override the language.- Parameters:
lang- The language of this genealogical data.
-
lang
Build out this record set with a lang.- Parameters:
lang- The lang.- Returns:
- this.
-
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
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
Build out this record set with metadata.- Parameters:
metadata- The metadata.- Returns:
- this.
-
records
Create a stream for the records.- Returns:
- a stream for the records.
-
getRecords
The records included in this genealogical data set.- Returns:
- The records included in this genealogical data set.
-
setRecords
The records included in this genealogical data set.- Parameters:
records- The records included in this genealogical data set.
-
record
Build out this record set with a record.- Parameters:
record- The record.- Returns:
- this.
-