|
||||||||||
| 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.EvidenceReference
public final class EvidenceReference
A reference to a resource that is being used as evidence.
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.common.ExtensibleData |
|---|
extensionElements, transientProperties |
| Constructor Summary | |
|---|---|
EvidenceReference()
|
|
EvidenceReference(URI resource)
|
|
EvidenceReference(URI resource,
String resourceId)
|
|
| Method Summary | |
|---|---|
void |
accept(GedcomxModelVisitor visitor)
Accept a visitor. |
EvidenceReference |
attribution(Attribution attribution)
Build up this evidence reference with an attribution. |
Attribution |
getAttribution()
Attribution metadata for this evidence reference. |
URI |
getResource()
The URI to the resource being referenced as evidence. |
String |
getResourceId()
The resource id of the resource being referenced. |
EvidenceReference |
id(String id)
Build up this object with an id. |
EvidenceReference |
link(Link link)
Build up this data with a link. |
EvidenceReference |
link(String rel,
URI href)
Build up this data with a link. |
EvidenceReference |
resource(URI resource)
Build up this reference with a resource URI. |
EvidenceReference |
resourceId(String resourceId)
Build up this reference with a resource id. |
void |
setAttribution(Attribution attribution)
Attribution metadata for evidence reference. |
void |
setResource(URI resource)
The URI to the resource being referenced as evidence. |
void |
setResourceId(String resourceId)
The resource id of the resource being referenced. |
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 EvidenceReference()
public EvidenceReference(URI resource)
public EvidenceReference(URI resource,
String resourceId)
| Method Detail |
|---|
public EvidenceReference link(Link link)
HypermediaEnabledData
link in class HypermediaEnabledDatalink - The link.
public EvidenceReference link(String rel,
URI href)
HypermediaEnabledData
link in class HypermediaEnabledDatarel - The rel.href - The href.
public EvidenceReference id(String id)
ExtensibleData
id in class ExtensibleDataid - The id.public String getResourceId()
public void setResourceId(String resourceId)
resourceId - The resource id of the resource being referenced.public EvidenceReference resourceId(String resourceId)
resourceId - The resource id.public URI getResource()
public void setResource(URI resource)
resource - The URI to the resource.public EvidenceReference resource(URI resource)
resource - The resource.public Attribution getAttribution()
getAttribution in interface Attributablepublic void setAttribution(Attribution attribution)
setAttribution in interface Attributableattribution - Attribution metadata for evidence reference.public EvidenceReference attribution(Attribution attribution)
attribution - The attribution.
public void accept(GedcomxModelVisitor visitor)
visitor - The visitor.public String toString()
toString in class ExtensibleData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||