|
||||||||||
| 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.conclusion.Conclusion
org.gedcomx.conclusion.EventRole
public class EventRole
A role that a specific person plays in an event.
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.common.ExtensibleData |
|---|
extensionElements, transientProperties |
| Constructor Summary | |
|---|---|
EventRole()
|
|
| Method Summary | |
|---|---|
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. |
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. |
| Methods inherited from class org.gedcomx.conclusion.Conclusion |
|---|
addNote, addSource, embed, getAnalysis, getAttribution, getConfidence, getKnownConfidenceLevel, getLang, getNotes, getSortKey, getSources, setAnalysis, setAttribution, setConfidence, setKnownConfidenceLevel, setLang, setNotes, setSortKey, setSources |
| 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 EventRole()
| Method Detail |
|---|
public EventRole id(String id)
ExtensibleData
id in class Conclusionid - The id.
public EventRole link(String rel,
URI href)
HypermediaEnabledData
link in class Conclusionrel - The rel.href - The href.
public EventRole link(Link link)
HypermediaEnabledData
link in class Conclusionlink - The link.
public EventRole lang(String lang)
Conclusion
lang in class Conclusionlang - The lang.
public EventRole confidence(URI confidence)
Conclusion
confidence in class Conclusionconfidence - The confidence level.
public EventRole confidence(ConfidenceLevel confidence)
Conclusion
confidence in class Conclusionconfidence - The confidence level.
public EventRole source(SourceReference sourceReference)
Conclusion
source in class ConclusionsourceReference - The source reference.
public EventRole source(SourceDescription source)
Conclusion
source in class Conclusionsource - The source description being referenced.
public EventRole note(Note note)
Conclusion
note in class Conclusionnote - The note.
public EventRole attribution(Attribution attribution)
Conclusion
attribution in class Conclusionattribution - The attribution.
public EventRole analysis(ResourceReference analysis)
Conclusion
analysis in class Conclusionanalysis - The analysis.
public EventRole analysis(URI analysis)
Conclusion
analysis in class Conclusionanalysis - The analysis.
public EventRole analysis(Document analysis)
Conclusion
analysis in class Conclusionanalysis - The analysis.
public EventRole sortKey(String sortKey)
Conclusion
sortKey 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||