|
||||||||||
| 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.common.Note
public class Note
A note about a genealogical resource (e.g. conclusion or source).
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.common.ExtensibleData |
|---|
extensionElements, transientProperties |
| Constructor Summary | |
|---|---|
Note()
|
|
| Method Summary | |
|---|---|
void |
accept(GedcomxModelVisitor visitor)
Accept a visitor. |
Note |
attribution(Attribution attribution)
Build up this note with attribution. |
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. |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Note()
| Method Detail |
|---|
public Note id(String id)
ExtensibleData
id in class ExtensibleDataid - The id.
public Note link(String rel,
URI href)
HypermediaEnabledData
link in class HypermediaEnabledDatarel - The rel.href - The href.
public Note link(Link link)
HypermediaEnabledData
link 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()
getText in interface HasTextpublic void setText(String text)
setText in interface HasTexttext - The text of the note.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()
ExtensibleData
toString in class ExtensibleDatapublic void accept(GedcomxModelVisitor visitor)
visitor - The visitor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||