public class Gender extends Conclusion implements HasFields
extensionElements, transientProperties| Constructor and Description |
|---|
Gender()
Default constructor.
|
Gender(GenderType type)
Constructs a new gender object with the passed in type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(GedcomxModelVisitor visitor)
Accept a visitor.
|
void |
addField(Field field)
Add a record field being used as evidence.
|
Gender |
analysis(Document analysis)
Add a reference to the analysis for this conclusion.
|
Gender |
analysis(ResourceReference analysis)
Add a reference to the analysis for this conclusion.
|
Gender |
analysis(URI analysis)
Add a reference to the analysis for this conclusion.
|
Gender |
attribution(Attribution attribution)
Build up this conclusion with attribution.
|
Gender |
confidence(ConfidenceLevel confidence)
Build up this conclusion with a confidence level.
|
Gender |
confidence(URI confidence)
Build up this conclusion with a confidence level.
|
Gender |
extensionElement(Object element) |
Gender |
field(Field field)
Build up this gender with a field.
|
List<Field> |
getFields()
Get the fields being used as evidence.
|
GenderType |
getKnownType()
The known type of the gender.
|
URI |
getType()
The type of the gender.
|
Gender |
id(String id)
Build up this object with an id.
|
Gender |
lang(String lang)
Build up this conclusion with a lang.
|
Gender |
link(Link link)
Build up this data with a link.
|
Gender |
link(String rel,
URI href)
Build up this data with a link.
|
Gender |
note(Note note)
Build up this conclusion with a note.
|
void |
setFields(List<Field> fields)
Set the list of fields being used as evidence.
|
void |
setKnownType(GenderType type)
The type of the gender.
|
void |
setType(URI type)
The type of the gender.
|
Gender |
sortKey(String sortKey)
Build up this fact with a sort key.
|
Gender |
source(SourceDescription source)
Build up this conclusion with a source reference.
|
Gender |
source(SourceReference sourceReference)
Build up this conclusion with a source reference.
|
String |
toString()
Provide a simple toString() method.
|
Gender |
type(GenderType type)
Build up this gender with a type.
|
Gender |
type(URI type)
Build up this gender 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 Gender()
public Gender(GenderType type)
type - The type of the gender.public Gender id(String id)
ExtensibleDataid in class Conclusionid - The id.public Gender extensionElement(Object element)
extensionElement in class Conclusionpublic Gender link(String rel, URI href)
HypermediaEnabledDatalink in class Conclusionrel - The rel.href - The href.public Gender link(Link link)
HypermediaEnabledDatalink in class Conclusionlink - The link.public Gender lang(String lang)
Conclusionlang in class Conclusionlang - The lang.public Gender confidence(URI confidence)
Conclusionconfidence in class Conclusionconfidence - The confidence level.public Gender confidence(ConfidenceLevel confidence)
Conclusionconfidence in class Conclusionconfidence - The confidence level.public Gender source(SourceReference sourceReference)
Conclusionsource in class ConclusionsourceReference - The source reference.public Gender source(SourceDescription source)
Conclusionsource in class Conclusionsource - The source description being referenced.public Gender note(Note note)
Conclusionnote in class Conclusionnote - The note.public Gender attribution(Attribution attribution)
Conclusionattribution in class Conclusionattribution - The attribution.public Gender analysis(ResourceReference analysis)
Conclusionanalysis in class Conclusionanalysis - The analysis.public Gender analysis(Document analysis)
Conclusionanalysis in class Conclusionanalysis - The analysis.public Gender analysis(URI analysis)
Conclusionanalysis in class Conclusionanalysis - The analysis.public Gender sortKey(String sortKey)
ConclusionsortKey in class ConclusionsortKey - The sort key.public URI getType()
public void setType(URI type)
type - The type of the gender.public Gender type(URI type)
type - The type.public Gender type(GenderType type)
type - The type.public GenderType getKnownType()
public void setKnownType(GenderType type)
type - The type of the gender.public Gender field(Field field)
field - The field.public void addField(Field field)
field - The evidence to be added.public String toString()
ConclusiontoString in class Conclusionpublic void accept(GedcomxModelVisitor visitor)
visitor - The visitor.Copyright © 2016. All rights reserved.