public class Note extends HypermediaEnabledData implements Attributable, HasText
extensionElements, transientProperties| Constructor and Description |
|---|
Note() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(GedcomxModelVisitor visitor)
Accept a visitor.
|
Note |
attribution(Attribution attribution)
Build up this note with attribution.
|
Note |
extensionElement(Object element) |
Attribution |
getAttribution()
Attribution metadata for a note.
|
String |
getLang()
The language of the note.
|
String |
getSubject()
The subject of the note.
|
String |
getText()
The text of the note.
|
Note |
id(String id)
Build up this object with an id.
|
Note |
lang(String lang)
Build up this note with a locale.
|
Note |
link(Link link)
Build up this data with a link.
|
Note |
link(String rel,
URI href)
Build up this data with a link.
|
void |
setAttribution(Attribution attribution)
Attribution metadata for a note.
|
void |
setLang(String lang)
The language of the note.
|
void |
setSubject(String text)
The subject of the note.
|
void |
setText(String text)
The text of the note.
|
Note |
subject(String text)
Build up this note with a subject.
|
Note |
text(String text)
Build up this note with some text.
|
String |
toString()
Provide a simple toString() method.
|
addLink, addLink, addTemplatedLink, embed, getLink, getLinks, getLinks, setLinksaddExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientPropertypublic Note id(String id)
ExtensibleDataid in class ExtensibleDataid - The id.public Note extensionElement(Object element)
extensionElement in class ExtensibleDatapublic Note link(String rel, URI href)
HypermediaEnabledDatalink in class HypermediaEnabledDatarel - The rel.href - The href.public Note link(Link link)
HypermediaEnabledDatalink in class HypermediaEnabledDatalink - The link.public String getLang()
public void setLang(String lang)
lang - The language of the note.public Note lang(String lang)
lang - The locale.public String getSubject()
public void setSubject(String text)
text - The subject of the note.public Note subject(String text)
text - The subject.public String getText()
public void setText(String text)
public Note text(String text)
text - The text.public Attribution getAttribution()
getAttribution in interface Attributablepublic void setAttribution(Attribution attribution)
setAttribution in interface Attributableattribution - Attribution metadata for a note.public Note attribution(Attribution attribution)
attribution - The attribution.public String toString()
ExtensibleDatatoString in class ExtensibleDatapublic void accept(GedcomxModelVisitor visitor)
visitor - The visitor.Copyright © 2016. All rights reserved.