|
||||||||||
| 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.Collection
public class Collection
A collection of genealogical resources.
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.common.ExtensibleData |
|---|
extensionElements, transientProperties |
| Constructor Summary | |
|---|---|
Collection()
|
|
| Method Summary | |
|---|---|
void |
accept(GedcomxModelVisitor visitor)
Accept a visitor. |
void |
addContent(CollectionContent content)
Add a reference to the record content values being used as evidence. |
Collection |
attribution(Attribution attribution)
Build out this collection with attribution. |
Collection |
content(CollectionContent content)
Build out this collection with content. |
void |
embed(Collection collection)
Embed another collection. |
Attribution |
getAttribution()
Attribution metadata for this collection. |
List<CollectionContent> |
getContent()
Descriptions of the content of this collection. |
List<Identifier> |
getIdentifiers()
The list of identifiers for the source. |
String |
getLang()
The language of this description of the collection. |
Integer |
getSize()
The size of the collection, in terms of the number of items in this collection. |
String |
getTitle()
A title for the collection. |
Collection |
id(String id)
Build up this object with an id. |
Collection |
identifier(Identifier identifier)
Build out this collection with an identifier. |
Collection |
lang(String lang)
Build out this collection with a lang. |
Collection |
link(Link link)
Build up this data with a link. |
Collection |
link(String rel,
URI href)
Build up this data with a link. |
void |
setAttribution(Attribution attribution)
Attribution metadata for this collection. |
void |
setContent(List<CollectionContent> content)
Descriptions of the content of this collection. |
void |
setIdentifiers(List<Identifier> identifiers)
The list of identifiers of the source. |
void |
setLang(String lang)
The language of this description of the collection. |
void |
setSize(Integer size)
The size of the collection, in terms of the number of items in this collection. |
void |
setTitle(String title)
A title for the collection. |
Collection |
size(Integer size)
Build out this collection with size. |
Collection |
title(String title)
Build out this collection with a title. |
| 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 Collection()
| Method Detail |
|---|
public Collection id(String id)
ExtensibleData
id in class ExtensibleDataid - The id.public Collection link(Link link)
HypermediaEnabledData
link in class HypermediaEnabledDatalink - The link.
public Collection link(String rel,
URI href)
HypermediaEnabledData
link in class HypermediaEnabledDatarel - The rel.href - The href.
public String getLang()
public void setLang(String lang)
lang - The language of this description of the collection.public Collection lang(String lang)
lang - The lang.
public String getTitle()
public void setTitle(String title)
title - A title for the collection.public Collection title(String title)
title - the title.
public List<Identifier> getIdentifiers()
public void setIdentifiers(List<Identifier> identifiers)
identifiers - The list of identifiers of the source.public Collection identifier(Identifier identifier)
identifier - the identifier.
public List<CollectionContent> getContent()
public void setContent(List<CollectionContent> content)
content - Descriptions of the content of this collection.public Collection content(CollectionContent content)
content - The content.
public void addContent(CollectionContent content)
content - The content to be added.public Attribution getAttribution()
getAttribution in interface Attributablepublic void setAttribution(Attribution attribution)
setAttribution in interface Attributableattribution - Attribution metadata for this collection.public Collection attribution(Attribution attribution)
attribution - The attribution.
public Integer getSize()
public void setSize(Integer size)
size - The size of the collection, in terms of the number of items in this collection.public Collection size(Integer size)
size - the size.
public void accept(GedcomxModelVisitor visitor)
visitor - The visitor.public void embed(Collection collection)
collection - The collection to embed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||