Package org.gedcomx.conclusion
Class Gender
java.lang.Object
org.gedcomx.common.ExtensibleData
org.gedcomx.links.HypermediaEnabledData
org.gedcomx.conclusion.Conclusion
org.gedcomx.conclusion.Gender
- All Implemented Interfaces:
Attributable,HasNotes,HasTransientProperties,SupportsLinks,HasFields,SupportsExtensionElements,ReferencesSources
A gender conclusion.
- Author:
- Ryan Heaton
-
Field Summary
Fields inherited from class org.gedcomx.common.ExtensibleData
extensionElements, transientProperties -
Constructor Summary
ConstructorsConstructorDescriptionGender()Default constructor.Gender(GenderType type) Constructs a new gender object with the passed in type. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(GedcomxModelVisitor visitor) Accept a visitor.voidAdd a record field being used as evidence.analysis(ResourceReference analysis) Add a reference to the analysis for this conclusion.Add a reference to the analysis for this conclusion.Add a reference to the analysis for this conclusion.attribution(Attribution attribution) Build up this conclusion with attribution.confidence(URI confidence) Build up this conclusion with a confidence level.confidence(ConfidenceLevel confidence) Build up this conclusion with a confidence level.extensionElement(Object element) Build up this gender with a field.Get the fields being used as evidence.The known type of the gender.getType()The type of the gender.Build up this object with an id.Build up this conclusion with a lang.Build up this data with a link.Build up this data with a link.Build up this conclusion with a note.voidSet the list of fields being used as evidence.voidsetKnownType(GenderType type) The type of the gender.voidThe type of the gender.Build up this fact with a sort key.source(SourceDescription source) Build up this conclusion with a source reference.source(SourceReference sourceReference) Build up this conclusion with a source reference.toString()Provide a simple toString() method.Build up this gender with a type.type(GenderType 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, notes, setAnalysis, setAttribution, setConfidence, setKnownConfidenceLevel, setLang, setNotes, setSortKey, setSources, sourcesMethods inherited from class org.gedcomx.links.HypermediaEnabledData
addLink, addLink, addTemplatedLink, embed, getLink, getLinks, getLinks, setLinksMethods inherited from class org.gedcomx.common.ExtensibleData
addExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientProperty
-
Constructor Details
-
Gender
public Gender()Default constructor. -
Gender
Constructs a new gender object with the passed in type.- Parameters:
type- The type of the gender.
-
Gender
-
-
Method Details
-
id
Description copied from class:ExtensibleDataBuild up this object with an id.- Overrides:
idin classConclusion- Parameters:
id- The id.- Returns:
- this.
-
extensionElement
- Overrides:
extensionElementin classConclusion
-
link
Description copied from class:HypermediaEnabledDataBuild up this data with a link.- Overrides:
linkin classConclusion- Parameters:
rel- The rel.href- The href.- Returns:
- this.
-
link
Description copied from class:HypermediaEnabledDataBuild up this data with a link.- Overrides:
linkin classConclusion- Parameters:
link- The link.- Returns:
- this.
-
lang
Description copied from class:ConclusionBuild up this conclusion with a lang.- Overrides:
langin classConclusion- Parameters:
lang- The lang.- Returns:
- this.
-
confidence
Description copied from class:ConclusionBuild up this conclusion with a confidence level.- Overrides:
confidencein classConclusion- Parameters:
confidence- The confidence level.- Returns:
- this.
-
confidence
Description copied from class:ConclusionBuild up this conclusion with a confidence level.- Overrides:
confidencein classConclusion- Parameters:
confidence- The confidence level.- Returns:
- this.
-
source
Description copied from class:ConclusionBuild up this conclusion with a source reference.- Overrides:
sourcein classConclusion- Parameters:
sourceReference- The source reference.- Returns:
- this.
-
source
Description copied from class:ConclusionBuild up this conclusion with a source reference.- Overrides:
sourcein classConclusion- Parameters:
source- The source description being referenced.- Returns:
- this.
-
note
Description copied from class:ConclusionBuild up this conclusion with a note.- Overrides:
notein classConclusion- Parameters:
note- The note.- Returns:
- this.
-
attribution
Description copied from class:ConclusionBuild up this conclusion with attribution.- Overrides:
attributionin classConclusion- Parameters:
attribution- The attribution.- Returns:
- this.
-
analysis
Description copied from class:ConclusionAdd a reference to the analysis for this conclusion.- Overrides:
analysisin classConclusion- Parameters:
analysis- The analysis.- Returns:
- this.
-
analysis
Description copied from class:ConclusionAdd a reference to the analysis for this conclusion.- Overrides:
analysisin classConclusion- Parameters:
analysis- The analysis.- Returns:
- this.
-
analysis
Description copied from class:ConclusionAdd a reference to the analysis for this conclusion.- Overrides:
analysisin classConclusion- Parameters:
analysis- The analysis.- Returns:
- this.
-
sortKey
Description copied from class:ConclusionBuild up this fact with a sort key.- Overrides:
sortKeyin classConclusion- Parameters:
sortKey- The sort key.- Returns:
- this.
-
getType
The type of the gender.- Returns:
- The type of the gender.
-
setType
The type of the gender.- Parameters:
type- The type of the gender.
-
type
Build up this gender with a type.- Parameters:
type- The type.- Returns:
- this.
-
type
Build up this gender with a type.- Parameters:
type- The type.- Returns:
- this.
-
getKnownType
The known type of the gender.- Returns:
- The type of the gender.
-
setKnownType
The type of the gender.- Parameters:
type- The type of the gender.
-
getFields
Get the fields being used as evidence. -
setFields
Set the list of fields being used as evidence. -
field
Build up this gender with a field.- Parameters:
field- The field.- Returns:
- this.
-
addField
Add a record field being used as evidence.- Parameters:
field- The evidence to be added.
-
toString
Description copied from class:ConclusionProvide a simple toString() method.- Overrides:
toStringin classConclusion
-
accept
Accept a visitor.- Parameters:
visitor- The visitor.
-