|
||||||||||
| 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.Gender
public class Gender
A gender conclusion.
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.common.ExtensibleData |
|---|
extensionElements, transientProperties |
| Constructor Summary | |
|---|---|
Gender()
Default constructor. |
|
Gender(GenderType type)
Constructs a new gender object with the passed in type. |
|
| Method Summary | |
|---|---|
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 |
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. |
| 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 Gender()
public Gender(GenderType type)
type - The type of the gender.| Method Detail |
|---|
public Gender id(String id)
ExtensibleData
id in class Conclusionid - The id.
public Gender link(String rel,
URI href)
HypermediaEnabledData
link in class Conclusionrel - The rel.href - The href.
public Gender link(Link link)
HypermediaEnabledData
link in class Conclusionlink - The link.
public Gender lang(String lang)
Conclusion
lang in class Conclusionlang - The lang.
public Gender confidence(URI confidence)
Conclusion
confidence in class Conclusionconfidence - The confidence level.
public Gender confidence(ConfidenceLevel confidence)
Conclusion
confidence in class Conclusionconfidence - The confidence level.
public Gender source(SourceReference sourceReference)
Conclusion
source in class ConclusionsourceReference - The source reference.
public Gender source(SourceDescription source)
Conclusion
source in class Conclusionsource - The source description being referenced.
public Gender note(Note note)
Conclusion
note in class Conclusionnote - The note.
public Gender attribution(Attribution attribution)
Conclusion
attribution in class Conclusionattribution - The attribution.
public Gender analysis(ResourceReference analysis)
Conclusion
analysis in class Conclusionanalysis - The analysis.
public Gender analysis(Document analysis)
Conclusion
analysis in class Conclusionanalysis - The analysis.
public Gender analysis(URI analysis)
Conclusion
analysis in class Conclusionanalysis - The analysis.
public Gender sortKey(String sortKey)
Conclusion
sortKey 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 List<Field> getFields()
getFields in interface HasFieldspublic void setFields(List<Field> fields)
setFields in interface HasFieldsfields - - List of fieldspublic Gender field(Field field)
field - The field.
public void addField(Field field)
field - The evidence to be added.public String toString()
Conclusion
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 | |||||||||