public class Person extends Subject implements HasFacts, HasFields
extensionElements, transientProperties| Constructor and Description |
|---|
Person() |
| Modifier and Type | Method and Description |
|---|---|
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 |
extensionElement(Object element) |
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.
|
Name |
getPreferredName()
Get the preferred name of the person.
|
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.
|
addEvidence, addIdentifier, addMedia, embed, getEvidence, getExtracted, getIdentifiers, getMedia, getPersistentId, setEvidence, setExtracted, setIdentifiers, setMedia, setPersistentIdaddNote, 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, setTransientPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttribution, setAttributionpublic Person id(String id)
ExtensibleDatapublic Person extensionElement(Object element)
extensionElement in class Subjectpublic Person link(String rel, URI href)
HypermediaEnabledDatapublic Person link(Link link)
HypermediaEnabledDatapublic Person lang(String lang)
Conclusionpublic Person confidence(URI confidence)
Conclusionconfidence in class Subjectconfidence - The confidence level.public Person confidence(ConfidenceLevel confidence)
Conclusionconfidence in class Subjectconfidence - The confidence level.public Person source(SourceReference sourceReference)
Conclusionpublic Person source(SourceDescription source)
Conclusionpublic Person note(Note note)
Conclusionpublic Person analysis(ResourceReference analysis)
Conclusionpublic Person attribution(Attribution attribution)
Conclusionattribution in class Subjectattribution - The attribution.public Person analysis(Document analysis)
Conclusionpublic Person analysis(URI analysis)
Conclusionpublic Person extracted(Boolean extracted)
Subjectpublic Person identifier(Identifier identifier)
Subjectidentifier in class Subjectidentifier - The identifier.public Person evidence(EvidenceReference evidence)
Subjectpublic 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)
Subjectpublic Person media(SourceDescription media)
Subjectpublic Person sortKey(String sortKey)
Conclusionpublic 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 Name getPreferredName()
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 Fact getFirstFactOfType(FactType type)
type - The type.public List<Fact> getFacts(FactType factType)
factType - The type of facts to return.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 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 ConclusionCopyright © 2016. All rights reserved.