public class Collection extends HypermediaEnabledData implements Attributable
extensionElements, transientProperties| Constructor and Description |
|---|
Collection() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Collection |
extensionElement(Object element) |
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.
|
addLink, addLink, addTemplatedLink, embed, getLink, getLinks, getLinks, setLinksaddExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientProperty, toStringpublic Collection id(String id)
ExtensibleDataid in class ExtensibleDataid - The id.public Collection extensionElement(Object element)
extensionElement in class ExtensibleDatapublic Collection link(Link link)
HypermediaEnabledDatalink in class HypermediaEnabledDatalink - The link.public Collection link(String rel, URI href)
HypermediaEnabledDatalink 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.Copyright © 2016. All rights reserved.