|
||||||||||
| 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
org.gedcomx.conclusion.Person
public class Person
A person.
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.common.ExtensibleData |
|---|
extensionElements, transientProperties |
| Constructor Summary | |
|---|---|
Person()
|
|
| Method Summary | |
|---|---|
void |
accept(GedcomxModelVisitor visitor)
Accept a visitor. |
void |
addFact(Fact fact)
Add a fact conclusion to the person. |
void |
addField(Field field)
Add a reference to the record field values being used as evidence. |
void |
addName(Name name)
Add a name conclusion to the person. |
void |
addPersona(EvidenceReference personaRef)
Add an persona reference for this subject. |
Person |
analysis(Document analysis)
Add a reference to the analysis for this conclusion. |
Person |
analysis(ResourceReference analysis)
Add a reference to the analysis for this conclusion. |
Person |
analysis(URI analysis)
Add a reference to the analysis for this conclusion. |
Person |
attribution(Attribution attribution)
Build up this conclusion with attribution. |
Person |
confidence(ConfidenceLevel confidence)
Build up this conclusion with a confidence level. |
Person |
confidence(URI confidence)
Build up this conclusion with a confidence level. |
Person |
displayExtension(DisplayProperties display)
Build out this person with a display exension. |
void |
embed(Person person)
Embed the specified person into this one. |
Person |
evidence(EvidenceReference evidence)
Build up this subject with an evidence reference. |
Person |
evidence(Person evidence)
|
Person |
extracted(Boolean extracted)
Build up this subject with an extracted flag. |
Person |
fact(Fact fact)
Build out this person with a fact. |
Person |
field(Field field)
Build out this person with a field. |
Person |
gender(Gender gender)
Build out this person with a gender. |
Person |
gender(GenderType gender)
Build out this person with a gender. |
DisplayProperties |
getDisplayExtension()
Display properties for the person. |
List<Fact> |
getFacts()
The fact conclusions for the person. |
List<Fact> |
getFacts(FactType factType)
Helper method for obtaining specific fact conclusions. |
List<Field> |
getFields()
Get the fields being used as evidence. |
Fact |
getFirstFactOfType(FactType type)
Get the first fact of the specified type. |
Name |
getFirstNameOfType(NameType type)
Get the first name of the specified type. |
Gender |
getGender()
The gender conclusion for the person. |
Boolean |
getLiving()
Living status of the person as treated by the system. |
Name |
getName()
Get the first name of this person. |
List<Name> |
getNames()
The name conclusions for the person. |
List<EvidenceReference> |
getPersonaReferences()
References to the persona being referenced for this subject. |
Boolean |
getPrincipal()
Indicator of whether this person is the "principal" person extracted from the record. |
Boolean |
getPrivate()
Whether this person has been designated for limited distribution or display. |
Person |
id(String id)
Build up this object with an id. |
Person |
identifier(Identifier identifier)
Build up this subject with an identifier. |
Person |
lang(String lang)
Build up this conclusion with a lang. |
Person |
link(Link link)
Build up this data with a link. |
Person |
link(String rel,
URI href)
Build up this data with a link. |
Person |
living(Boolean living)
Build out this person with a living flag. |
Person |
media(SourceDescription media)
Build up this subject with a media reference. |
Person |
media(SourceReference media)
Build up this subject with a media reference. |
Person |
name(Name name)
Build out this person with a name. |
Person |
name(String name)
Build out this person with a name. |
Person |
note(Note note)
Build up this conclusion with a note. |
Subject |
personaReference(EvidenceReference persona)
Build up this subject with an persona reference. |
Person |
principal(Boolean principal)
Build out this person with a principal flag. |
void |
setDisplayExtension(DisplayProperties display)
Display properties for the person. |
void |
setFacts(List<Fact> facts)
The fact conclusions for the person. |
void |
setFields(List<Field> fields)
Set the list of fields being used as evidence. |
void |
setGender(Gender gender)
The gender conclusion for the person. |
void |
setLiving(Boolean living)
Living status of the person as treated by the system. |
void |
setNames(List<Name> names)
The name conclusions for the person. |
void |
setPersonaReferences(List<EvidenceReference> refs)
References to the persona being referenced for this subject. |
void |
setPrincipal(Boolean principal)
Indicator of whether this person is the "principal" person extracted from the record. |
void |
setPrivate(Boolean isPrivate)
Whether this person has been designated for limited distribution or display. |
Person |
sortKey(String sortKey)
Build up this fact with a sort key. |
Person |
source(SourceDescription source)
Build up this conclusion with a source reference. |
Person |
source(SourceReference sourceReference)
Build up this conclusion with a source reference. |
String |
toString()
Provide a simple toString() method. |
| Methods inherited from class org.gedcomx.conclusion.Subject |
|---|
addEvidence, addIdentifier, addMedia, embed, getEvidence, getExtracted, getIdentifiers, getMedia, getPersistentId, setEvidence, setExtracted, setIdentifiers, setMedia, setPersistentId |
| 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 |
| Methods inherited from interface org.gedcomx.common.Attributable |
|---|
getAttribution, setAttribution |
| Constructor Detail |
|---|
public Person()
| Method Detail |
|---|
public Person id(String id)
ExtensibleData
id in class Subjectid - The id.
public Person link(String rel,
URI href)
HypermediaEnabledData
link in class Subjectrel - The rel.href - The href.
public Person link(Link link)
HypermediaEnabledData
link in class Subjectlink - The link.
public Person lang(String lang)
Conclusion
lang in class Subjectlang - The lang.
public Person confidence(URI confidence)
Conclusion
confidence in class Subjectconfidence - The confidence level.
public Person confidence(ConfidenceLevel confidence)
Conclusion
confidence in class Subjectconfidence - The confidence level.
public Person source(SourceReference sourceReference)
Conclusion
source in class SubjectsourceReference - The source reference.
public Person source(SourceDescription source)
Conclusion
source in class Subjectsource - The source description being referenced.
public Person note(Note note)
Conclusion
note in class Subjectnote - The note.
public Person analysis(ResourceReference analysis)
Conclusion
analysis in class Subjectanalysis - The analysis.
public Person attribution(Attribution attribution)
Conclusion
attribution in class Subjectattribution - The attribution.
public Person analysis(Document analysis)
Conclusion
analysis in class Subjectanalysis - The analysis.
public Person analysis(URI analysis)
Conclusion
analysis in class Subjectanalysis - The analysis.
public Person extracted(Boolean extracted)
Subject
extracted in class Subjectextracted - The extracted flag.
public Person identifier(Identifier identifier)
Subject
identifier in class Subjectidentifier - The identifier.
public Person evidence(EvidenceReference evidence)
Subject
evidence in class Subjectevidence - The evidence reference.
public Person evidence(Person evidence)
public List<EvidenceReference> getPersonaReferences()
public void setPersonaReferences(List<EvidenceReference> refs)
refs - References to the persona being referenced.public Subject personaReference(EvidenceReference persona)
persona - The persona reference.
public void addPersona(EvidenceReference personaRef)
personaRef - The persona to be added.public Person media(SourceReference media)
Subject
media in class Subjectmedia - The media reference.
public Person media(SourceDescription media)
Subject
media in class Subjectmedia - The media reference.
public Person sortKey(String sortKey)
Conclusion
sortKey in class SubjectsortKey - The sort key.
public Boolean getPrivate()
public void setPrivate(Boolean isPrivate)
isPrivate - Whether this person has been designated for limited distribution or display.public Boolean getLiving()
public void setLiving(Boolean living)
living - Living status of the person as treated by the system.public Person living(Boolean living)
living - The flag.
public Boolean getPrincipal()
public void setPrincipal(Boolean principal)
principal - Whether this person is the "principal" person extracted from the record.public Person principal(Boolean principal)
principal - The principal flag.
public Gender getGender()
public void setGender(Gender gender)
gender - The gender conclusion for the person.public Person gender(Gender gender)
gender - The gender.
public Person gender(GenderType gender)
gender - The gender.
public List<Name> getNames()
public Name getName()
public Name getFirstNameOfType(NameType type)
type - The type.
public void setNames(List<Name> names)
names - The name conclusions for the person.public Person name(Name name)
name - The name.
public Person name(String name)
name - The name.
public void addName(Name name)
name - The name conclusion to be added.public List<Fact> getFacts()
getFacts in interface HasFactspublic Fact getFirstFactOfType(FactType type)
type - The type.
public List<Fact> getFacts(FactType factType)
factType - The type of facts to return.
public void setFacts(List<Fact> facts)
setFacts in interface HasFactsfacts - The fact conclusions for the person.public Person fact(Fact fact)
fact - The fact.
public void addFact(Fact fact)
fact - The fact conclusion to be added.public DisplayProperties getDisplayExtension()
public void setDisplayExtension(DisplayProperties display)
display - Display properties for the person. Display properties are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.public Person displayExtension(DisplayProperties display)
display - the display.
public void accept(GedcomxModelVisitor visitor)
visitor - The visitor.public List<Field> getFields()
getFields in interface HasFieldspublic void setFields(List<Field> fields)
setFields in interface HasFieldsfields - - List of fieldspublic Person field(Field field)
field - The field.
public void addField(Field field)
field - The field to be added.public void embed(Person person)
person - The person to embed.public String toString()
toString in class Conclusion
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||