|
||||||||||
| 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.source.SourceReference
public class SourceReference
An attributable reference to a description of a source.
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.common.ExtensibleData |
|---|
extensionElements, transientProperties |
| Constructor Summary | |
|---|---|
SourceReference()
|
|
| Method Summary | |
|---|---|
void |
accept(GedcomxModelVisitor visitor)
Accept a visitor. |
void |
addQualifier(Qualifier qualifier)
Add a qualifier. |
SourceReference |
attribution(Attribution attribution)
Build up this source reference with attribution. |
SourceReference |
description(SourceDescription description)
Build up this source reference with a description reference. |
SourceReference |
descriptionRef(URI descriptionRef)
Build up this source reference with a description reference. |
Attribution |
getAttribution()
The attribution metadata for this source reference. |
URI |
getDescriptionRef()
A reference to a description of the source being referenced. |
List<Qualifier> |
getQualifiers()
The qualifiers associated with this source reference. |
SourceReference |
id(String id)
Build up this object with an id. |
SourceReference |
link(Link link)
Build up this data with a link. |
SourceReference |
link(String rel,
URI href)
Build up this data with a link. |
SourceReference |
qualifier(Qualifier qualifier)
Build up this source reference with a qualifier. |
void |
setAttribution(Attribution attribution)
The attribution metadata for this source reference. |
void |
setDescriptionRef(URI descriptionRef)
A reference to a description of the source being referenced. |
void |
setQualifiers(List<Qualifier> qualifiers)
Set the qualifiers associated with this source reference. |
| 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 SourceReference()
| Method Detail |
|---|
public SourceReference id(String id)
ExtensibleData
id in class ExtensibleDataid - The id.public SourceReference link(Link link)
HypermediaEnabledData
link in class HypermediaEnabledDatalink - The link.
public SourceReference link(String rel,
URI href)
HypermediaEnabledData
link in class HypermediaEnabledDatarel - The rel.href - The href.
public Attribution getAttribution()
getAttribution in interface Attributablepublic void setAttribution(Attribution attribution)
setAttribution in interface Attributableattribution - The attribution metadata for this source reference.public SourceReference attribution(Attribution attribution)
attribution - The attribution.
public URI getDescriptionRef()
public void setDescriptionRef(URI descriptionRef)
descriptionRef - A reference to a description of the source being referenced.public SourceReference descriptionRef(URI descriptionRef)
descriptionRef - The description ref.
public SourceReference description(SourceDescription description)
description - The description.
public List<Qualifier> getQualifiers()
public void setQualifiers(List<Qualifier> qualifiers)
qualifiers - qualifiers to associate with this source reference.public SourceReference qualifier(Qualifier qualifier)
qualifier - The qualifier.
public void addQualifier(Qualifier qualifier)
qualifier - The qualifier.public void accept(GedcomxModelVisitor visitor)
visitor - The visitor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||