|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gedcomx.common.ExtensibleData
org.gedcomx.links.HypermediaEnabledData
org.gedcomx.records.RecordSet
public class RecordSet
The GEDCOM X bulk record data formats are used to exchange bulk genealogical data sets, grouped into records.
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.common.ExtensibleData |
|---|
extensionElements, transientProperties |
| Constructor Summary | |
|---|---|
RecordSet()
|
|
| Method Summary | |
|---|---|
String |
getLang()
The language of this genealogical data set. |
Gedcomx |
getMetadata()
Metadata about this record set; shared among all records in the set. |
List<Gedcomx> |
getRecords()
The records included in this genealogical data set. |
RecordSet |
id(String id)
Build up this object with an id. |
RecordSet |
lang(String lang)
Build out this record set with a lang. |
RecordSet |
link(Link link)
Build up this data with a link. |
RecordSet |
link(String rel,
URI href)
Build up this data with a link. |
RecordSet |
metadata(Gedcomx metadata)
Build out this record set with metadata. |
RecordSet |
record(Gedcomx record)
Build out this record set with a record. |
void |
setLang(String lang)
The language of this genealogical data set. |
void |
setMetadata(Gedcomx metadata)
Metadata about this record set; shared among all records in the set. |
void |
setRecords(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, setLinks |
| Methods inherited from class org.gedcomx.common.ExtensibleData |
|---|
addExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientProperty, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RecordSet()
| Method Detail |
|---|
public RecordSet id(String id)
ExtensibleData
id in class ExtensibleDataid - The id.
public RecordSet link(String rel,
URI href)
HypermediaEnabledData
link in class HypermediaEnabledDatarel - The rel.href - The href.
public RecordSet link(Link link)
HypermediaEnabledData
link in class HypermediaEnabledDatalink - The link.
public String getLang()
public void setLang(String lang)
lang - The language of this genealogical data.public RecordSet lang(String lang)
lang - The lang.
public Gedcomx getMetadata()
public void setMetadata(Gedcomx metadata)
metadata - Metadata about this record set; shared among all records in the set.public RecordSet metadata(Gedcomx metadata)
metadata - The metadata.
public List<Gedcomx> getRecords()
public void setRecords(List<Gedcomx> records)
records - The records included in this genealogical data set.public RecordSet record(Gedcomx record)
record - The record.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||