|
||||||||||
| 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.Subject
public abstract class Subject
The Subject data type defines the abstract concept of a genealogical subject. A subject is something with a unique and intrinsic identity, e.g., a person, a location on the surface of the earth. We identify that subject in time and space using various supporting conclusions, e.g. for a person: things like name, birth date, age, address, etc. We aggregate these supporting conclusions to form an apparently-unique identity by which we can distinguish our subject from all other possible subjects.
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.common.ExtensibleData |
|---|
extensionElements, transientProperties |
| Constructor Summary | |
|---|---|
Subject()
|
|
| Method Summary | |
|---|---|
void |
addEvidence(EvidenceReference evidenceRef)
Add an evidence reference for this subject. |
void |
addIdentifier(Identifier identifier)
Add an identifier of the subject. |
void |
addMedia(SourceReference mediaRef)
Add an media reference associated with this subject. |
Subject |
analysis(Document analysis)
Add a reference to the analysis for this conclusion. |
Subject |
analysis(ResourceReference analysis)
Add a reference to the analysis for this conclusion. |
Subject |
analysis(URI analysis)
Add a reference to the analysis for this conclusion. |
Subject |
attribution(Attribution attribution)
Build up this conclusion with attribution. |
Subject |
confidence(ConfidenceLevel confidence)
Build up this conclusion with a confidence level. |
Subject |
confidence(URI confidence)
Build up this conclusion with a confidence level. |
protected void |
embed(Subject subject)
|
Subject |
evidence(EvidenceReference evidence)
Build up this subject with an evidence reference. |
Subject |
extracted(Boolean extracted)
Build up this subject with an extracted flag. |
List<EvidenceReference> |
getEvidence()
References to the evidence being referenced for this subject. |
Boolean |
getExtracted()
Whether this subject has been identified as "extracted", meaning it captures information extracted from a single source. |
List<Identifier> |
getIdentifiers()
The list of identifiers for the subject. |
List<SourceReference> |
getMedia()
References to multimedia resources associated with this subject. |
URI |
getPersistentId()
Find the long-term, persistent identifier for this subject from the list of identifiers. |
Subject |
id(String id)
Build up this object with an id. |
Subject |
identifier(Identifier identifier)
Build up this subject with an identifier. |
Subject |
lang(String lang)
Build up this conclusion with a lang. |
Subject |
link(Link link)
Build up this data with a link. |
Subject |
link(String rel,
URI href)
Build up this data with a link. |
Subject |
media(SourceDescription media)
Build up this subject with a media reference. |
Subject |
media(SourceReference media)
Build up this subject with a media reference. |
Subject |
note(Note note)
Build up this conclusion with a note. |
void |
setEvidence(List<EvidenceReference> evidence)
References to the evidence being referenced for this subject. |
void |
setExtracted(Boolean extracted)
Whether this subject has been identified as "extracted", meaning it captures information extracted from a single source. |
void |
setIdentifiers(List<Identifier> identifiers)
The list of identifiers of the subject. |
void |
setMedia(List<SourceReference> media)
References to multimedia resources associated with this subject. |
void |
setPersistentId(URI persistentId)
A long-term, persistent, globally unique identifier for this subject. |
Subject |
sortKey(String sortKey)
Build up this fact with a sort key. |
Subject |
source(SourceDescription source)
Build up this conclusion with a source reference. |
Subject |
source(SourceReference sourceReference)
Build up this conclusion with a source reference. |
| 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, toString |
| 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 |
| Methods inherited from interface org.gedcomx.common.Attributable |
|---|
getAttribution, setAttribution |
| Constructor Detail |
|---|
public Subject()
| Method Detail |
|---|
public Subject id(String id)
ExtensibleData
id in class Conclusionid - The id.
public Subject link(String rel,
URI href)
HypermediaEnabledData
link in class Conclusionrel - The rel.href - The href.
public Subject link(Link link)
HypermediaEnabledData
link in class Conclusionlink - The link.
public Subject lang(String lang)
Conclusion
lang in class Conclusionlang - The lang.
public Subject confidence(URI confidence)
Conclusion
confidence in class Conclusionconfidence - The confidence level.
public Subject confidence(ConfidenceLevel confidence)
Conclusion
confidence in class Conclusionconfidence - The confidence level.
public Subject source(SourceReference sourceReference)
Conclusion
source in class ConclusionsourceReference - The source reference.
public Subject source(SourceDescription source)
Conclusion
source in class Conclusionsource - The source description being referenced.
public Subject note(Note note)
Conclusion
note in class Conclusionnote - The note.
public Subject attribution(Attribution attribution)
Conclusion
attribution in class Conclusionattribution - The attribution.
public Subject analysis(ResourceReference analysis)
Conclusion
analysis in class Conclusionanalysis - The analysis.
public Subject analysis(URI analysis)
Conclusion
analysis in class Conclusionanalysis - The analysis.
public Subject analysis(Document analysis)
Conclusion
analysis in class Conclusionanalysis - The analysis.
public Subject sortKey(String sortKey)
Conclusion
sortKey in class ConclusionsortKey - The sort key.
public Boolean getExtracted()
public void setExtracted(Boolean extracted)
extracted - Whether this subject has been identified as "extracted".public Subject extracted(Boolean extracted)
extracted - The extracted flag.
public URI getPersistentId()
public void setPersistentId(URI persistentId)
persistentId - A long-term, persistent, globally unique identifier for this subject.public List<Identifier> getIdentifiers()
public void setIdentifiers(List<Identifier> identifiers)
identifiers - The list of identifiers of the subject.public Subject identifier(Identifier identifier)
identifier - The identifier.
public void addIdentifier(Identifier identifier)
identifier - The identifier to be added.public List<EvidenceReference> getEvidence()
public void setEvidence(List<EvidenceReference> evidence)
evidence - References to the evidence being referenced.public Subject evidence(EvidenceReference evidence)
evidence - The evidence reference.
public void addEvidence(EvidenceReference evidenceRef)
evidenceRef - The evidence to be added.public List<SourceReference> getMedia()
public void setMedia(List<SourceReference> media)
media - References to multimedia resources associated with this subject.public Subject media(SourceReference media)
media - The media reference.
public Subject media(SourceDescription media)
media - The media reference.
public void addMedia(SourceReference mediaRef)
mediaRef - The reference to the media to be added.protected void embed(Subject subject)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||