public class EventRole extends Conclusion
extensionElements, transientProperties| Constructor and Description |
|---|
EventRole() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(GedcomxModelVisitor visitor)
Accept a visitor.
|
EventRole |
analysis(Document analysis)
Add a reference to the analysis for this conclusion.
|
EventRole |
analysis(ResourceReference analysis)
Add a reference to the analysis for this conclusion.
|
EventRole |
analysis(URI analysis)
Add a reference to the analysis for this conclusion.
|
EventRole |
attribution(Attribution attribution)
Build up this conclusion with attribution.
|
EventRole |
confidence(ConfidenceLevel confidence)
Build up this conclusion with a confidence level.
|
EventRole |
confidence(URI confidence)
Build up this conclusion with a confidence level.
|
EventRole |
details(String details)
Build up this event role with details.
|
EventRole |
extensionElement(Object element) |
String |
getDetails()
Details about the role of the person in the event.
|
EventRoleType |
getKnownType()
The enum referencing the known role type, or
EventRoleType.OTHER if not known. |
ResourceReference |
getPerson()
Reference to the person playing the role in the event.
|
URI |
getType()
The role type.
|
EventRole |
id(String id)
Build up this object with an id.
|
EventRole |
lang(String lang)
Build up this conclusion with a lang.
|
EventRole |
link(Link link)
Build up this data with a link.
|
EventRole |
link(String rel,
URI href)
Build up this data with a link.
|
EventRole |
note(Note note)
Build up this conclusion with a note.
|
EventRole |
person(Person person)
Build up this event role with a person.
|
EventRole |
person(ResourceReference person)
Build up this event role with a person.
|
void |
setDetails(String details)
Details about the role of the person in the event.
|
void |
setKnownType(EventRoleType knownType)
Set the role type from an enumeration of known role types.
|
void |
setPerson(ResourceReference person)
Reference to the person playing the role in the event.
|
void |
setType(URI type)
The role type.
|
EventRole |
sortKey(String sortKey)
Build up this fact with a sort key.
|
EventRole |
source(SourceDescription source)
Build up this conclusion with a source reference.
|
EventRole |
source(SourceReference sourceReference)
Build up this conclusion with a source reference.
|
String |
toString()
Provide a simple toString() method.
|
EventRole |
type(EventRoleType type)
Build up this role with a type.
|
EventRole |
type(URI type)
Build up this role with a type.
|
addNote, addSource, embed, getAnalysis, getAttribution, getConfidence, getKnownConfidenceLevel, getLang, getNotes, getSortKey, getSources, setAnalysis, setAttribution, setConfidence, setKnownConfidenceLevel, setLang, setNotes, setSortKey, setSourcesaddLink, addLink, addTemplatedLink, embed, getLink, getLinks, getLinks, setLinksaddExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientPropertypublic EventRole id(String id)
ExtensibleDataid in class Conclusionid - The id.public EventRole extensionElement(Object element)
extensionElement in class Conclusionpublic EventRole link(String rel, URI href)
HypermediaEnabledDatalink in class Conclusionrel - The rel.href - The href.public EventRole link(Link link)
HypermediaEnabledDatalink in class Conclusionlink - The link.public EventRole lang(String lang)
Conclusionlang in class Conclusionlang - The lang.public EventRole confidence(URI confidence)
Conclusionconfidence in class Conclusionconfidence - The confidence level.public EventRole confidence(ConfidenceLevel confidence)
Conclusionconfidence in class Conclusionconfidence - The confidence level.public EventRole source(SourceReference sourceReference)
Conclusionsource in class ConclusionsourceReference - The source reference.public EventRole source(SourceDescription source)
Conclusionsource in class Conclusionsource - The source description being referenced.public EventRole note(Note note)
Conclusionnote in class Conclusionnote - The note.public EventRole attribution(Attribution attribution)
Conclusionattribution in class Conclusionattribution - The attribution.public EventRole analysis(ResourceReference analysis)
Conclusionanalysis in class Conclusionanalysis - The analysis.public EventRole analysis(URI analysis)
Conclusionanalysis in class Conclusionanalysis - The analysis.public EventRole analysis(Document analysis)
Conclusionanalysis in class Conclusionanalysis - The analysis.public EventRole sortKey(String sortKey)
ConclusionsortKey in class ConclusionsortKey - The sort key.public ResourceReference getPerson()
public void setPerson(ResourceReference person)
person - Reference to the person playing the role in the event.public EventRole person(ResourceReference person)
person - The person.public EventRole person(Person person)
person - The person.public URI getType()
public void setType(URI type)
type - The role type.public EventRole type(URI type)
type - The type.public EventRole type(EventRoleType type)
type - The type.public EventRoleType getKnownType()
EventRoleType.OTHER if not known.EventRoleType.OTHER if not known.public void setKnownType(EventRoleType knownType)
knownType - The role type.public String getDetails()
public void setDetails(String details)
details - Details about the role of the person in the event.public EventRole details(String details)
details - The details.public String toString()
toString in class Conclusionpublic void accept(GedcomxModelVisitor visitor)
visitor - The visitor.Copyright © 2016. All rights reserved.