Package org.gedcomx.types
Enum FactType
- java.lang.Object
-
- java.lang.Enum<FactType>
-
- org.gedcomx.types.FactType
-
- All Implemented Interfaces:
Serializable,Comparable<FactType>,ControlledVocabulary
public enum FactType extends Enum<FactType> implements ControlledVocabulary
Enumeration of standard fact types.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFactType.Couplestatic classFactType.ParentChildstatic classFactType.PersonEnumeration of types that are applicable to a person.
-
Enum Constant Summary
Enum Constants Enum Constant Description AdoptionA fact of a person's adoption.AdoptiveParentA fact about an adoptive relationship between a parent an a child.AdultChristeningA fact of a person's christening as an adult.AmnestyA fact of a person's amnesty.AnnulmentThe fact of an annulment of a marriage.ApprenticeshipA fact of a person's apprenticeship.ArrestA fact of a person's arrest.AwardA fact of a person's award (medal, honor).BaptismA fact of a person's baptism.BarMitzvahA fact of a person's bar mitzvah.BatMitzvahA fact of a person's bat mitzvah.BiologicalParentA fact the biological relationship between a parent and a child.BirthA fact of a person's birth.BirthNoticeA fact of a person's birth notice, such as posted in a newspaper or other publishing medium.BlessingA fact of an official blessing received by a person, such as at the hands of a clergy member or at another religious rite.BranchA fact of a person's branch within an extended clan.BurialA fact of the burial of person's body after death.CasteA fact of a person's caste.CensusA fact of a person's participation in a census.ChristeningA fact of a person's christening *at birth*.CircumcisionA fact of a person's circumcision.CivilUnionThe fact of a civil union.ClanA fact of a person's clan.CommonLawMarriageThe fact of a marriage by common law.ConfirmationA fact of a person's confirmation (or other rite of initiation) in a church or religion.CourtA fact of the appearance of a person in a court proceeding.CremationA fact of the cremation of person's body after death.DeathA fact of the death of a person.DivorceThe fact of a divorce of a couple.DivorceFilingThe fact of a filing for divorce.DomesticPartnershipThe fact of a domestic partnership.EducationA fact of an education of a person.EducationEnrollmentA fact of a person's enrollment in an educational program or institution.EmigrationA fact of the emigration of a person.EngagementThe fact of an engagement to be married.EnslavementA fact of a person's enslavement.EthnicityA fact of a person's ethnicity or race.ExcommunicationA fact of a person's excommunication from a church.FirstCommunionA fact of a person's first communion in a church.FosterParentA fact about a foster relationship between a foster parent and a child.FuneralA fact of a person's funeral.GenderChangeA fact of a person's gender change.GraduationA fact of a person's graduation from a scholastic institution.GuardianParentA fact about a legal guardianship between a parent and a child.HeimatA fact of a person's heimat.ImmigrationA fact of a person's immigration.ImprisonmentA fact of a person's imprisonment.InquestA legal inquest.LandTransactionA fact of a land transaction enacted by a person.LanguageA fact of a language spoken by a person.LivingA fact of a record of a person's living for a specific period.MaritalStatusA fact of a person's marital status.MarriageThe fact of a marriage.MarriageBannsThe fact of a marriage banns.MarriageContractThe fact of a marriage contract.MarriageLicenseThe fact of a marriage license.MarriageNoticeThe fact of a marriage notice.MedicalA fact of a person's medical record, such as for an illness or hospital stay.MilitaryAwardA fact of a person's military award.MilitaryDischargeA fact of a person's military discharge.MilitaryDraftRegistrationA fact of a person's registration for a military draft.MilitaryInductionA fact of a person's military induction.MilitaryServiceA fact of a person's militray service.MissionA fact of a person's church mission.MoveFromA fact of a person's move (i.e.MoveToA fact of a person's move (i.e.MultipleBirthA fact that a person was born as part of a multiple birth (e.g.NationalIdA fact of a person's national id (e.g.NationalityA fact of a person's nationality.NaturalizationA fact of a person's naturalization (i.e.NumberOfChildrenA fact of the number of children of a person or relationship.NumberOfMarriagesA fact of a person's number of marriages.ObituaryA fact of a person's obituary.OccupationA fact of a person's occupation or employment.OrdinationA fact of a person's ordination to a stewardship in a church.OTHERPardonA fact of a person's legal pardon.PhysicalDescriptionA fact of a person's physical description.ProbateA fact of a receipt of probate of a person's property.PropertyA fact of a person's property or possessions.RaceA fact of the declaration of a person's race, presumably in a historical document.ReligionA fact of a person's religion.ResidenceA fact of a person's residence.RetirementA fact of a person's retirement.SeparationA fact of a couple's separation.SociologicalParentA fact about a sociological relationship between a parent and a child, but not definable in typical legal or biological terms.StepParentA fact about the step relationship between a parent and a child.StillbirthA fact of a person's stillbirth.SurrogateParentA fact about a pregnancy surrogate relationship between a parent and a child.TaxAssessmentA fact of a person's tax assessment.TribeA fact of a person's tribe.VisitA fact of a person's visit to a place different from the person's residence.WillA fact of a person's will.YahrzeitA fact of a person's _yahrzeit_ date.
-
Field Summary
Fields Modifier and Type Field Description static Set<FactType>BIRTHLIKE_FACT_TYPESstatic Set<FactType>DEATHLIKE_FACT_TYPESstatic Set<FactType>DIVORCELIKE_FACT_TYPESstatic Set<FactType>MARRIAGELIKE_FACT_TYPESstatic Set<FactType>MIGRATIONLIKE_FACT_TYPES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FactTypefromQNameURI(URI qname)Get the enumeration from the QName.booleanisBirthLike()booleanisDeathLike()booleanisDivorceLike()booleanisMarriageLike()booleanisMigrationLike()URItoQNameURI()Return the QName value for this enum.static FactTypevalueOf(String name)Returns the enum constant of this type with the specified name.static FactType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Adoption
public static final FactType Adoption
A fact of a person's adoption. In the context of a parent-child relationship, it describes a fact of the adoption of a child by a parent.
-
AdultChristening
public static final FactType AdultChristening
A fact of a person's christening as an adult.
-
Amnesty
public static final FactType Amnesty
A fact of a person's amnesty.
-
Apprenticeship
public static final FactType Apprenticeship
A fact of a person's apprenticeship.
-
Arrest
public static final FactType Arrest
A fact of a person's arrest.
-
Award
public static final FactType Award
A fact of a person's award (medal, honor).
-
Baptism
public static final FactType Baptism
A fact of a person's baptism.
-
BarMitzvah
public static final FactType BarMitzvah
A fact of a person's bar mitzvah.
-
BatMitzvah
public static final FactType BatMitzvah
A fact of a person's bat mitzvah.
-
Birth
public static final FactType Birth
A fact of a person's birth.
-
BirthNotice
public static final FactType BirthNotice
A fact of a person's birth notice, such as posted in a newspaper or other publishing medium.
-
Blessing
public static final FactType Blessing
A fact of an official blessing received by a person, such as at the hands of a clergy member or at another religious rite.
-
Branch
public static final FactType Branch
A fact of a person's branch within an extended clan.
-
Burial
public static final FactType Burial
A fact of the burial of person's body after death.
-
Caste
public static final FactType Caste
A fact of a person's caste.
-
Census
public static final FactType Census
A fact of a person's participation in a census.
-
Christening
public static final FactType Christening
A fact of a person's christening *at birth*. Note: use `AdultChristening` for the christening as an adult.
-
Circumcision
public static final FactType Circumcision
A fact of a person's circumcision.
-
Clan
public static final FactType Clan
A fact of a person's clan.
-
Confirmation
public static final FactType Confirmation
A fact of a person's confirmation (or other rite of initiation) in a church or religion.
-
Court
public static final FactType Court
A fact of the appearance of a person in a court proceeding.
-
Cremation
public static final FactType Cremation
A fact of the cremation of person's body after death.
-
Death
public static final FactType Death
A fact of the death of a person.
-
Education
public static final FactType Education
A fact of an education of a person.
-
EducationEnrollment
public static final FactType EducationEnrollment
A fact of a person's enrollment in an educational program or institution.
-
Emigration
public static final FactType Emigration
A fact of the emigration of a person.
-
Enslavement
public static final FactType Enslavement
A fact of a person's enslavement.
-
Ethnicity
public static final FactType Ethnicity
A fact of a person's ethnicity or race.
-
Excommunication
public static final FactType Excommunication
A fact of a person's excommunication from a church.
-
FirstCommunion
public static final FactType FirstCommunion
A fact of a person's first communion in a church.
-
Funeral
public static final FactType Funeral
A fact of a person's funeral.
-
GenderChange
public static final FactType GenderChange
A fact of a person's gender change.
-
Graduation
public static final FactType Graduation
A fact of a person's graduation from a scholastic institution.
-
Heimat
public static final FactType Heimat
A fact of a person's heimat. "Heimat" refers to a person's affiliation by birth to a specific geographic place. Distinct heimaten are often useful as indicators that two persons of the same name are not likely to be closely related genealogically. In English, "heimat" may be described using terms like "ancestral home", "homeland", or "place of origin".
-
Immigration
public static final FactType Immigration
A fact of a person's immigration.
-
Imprisonment
public static final FactType Imprisonment
A fact of a person's imprisonment.
-
Inquest
public static final FactType Inquest
A legal inquest. Inquests usually only occur when there’s something suspicious about the death. Inquests might in some instances lead to a murder investigation. Most people that die have a death certificate wherein a doctor indicates the cause of death and often indicates when the decedent was last seen by that physician; these require no inquest.
-
LandTransaction
public static final FactType LandTransaction
A fact of a land transaction enacted by a person.
-
Language
public static final FactType Language
A fact of a language spoken by a person.
-
Living
public static final FactType Living
A fact of a record of a person's living for a specific period. This is designed to include "flourish", defined to mean the time period in an adult's life where he was most productive, perhaps as a writer or member of the state assembly. It does not reflect the person's birth and death dates.
-
MaritalStatus
public static final FactType MaritalStatus
A fact of a person's marital status.
-
Medical
public static final FactType Medical
A fact of a person's medical record, such as for an illness or hospital stay.
-
MilitaryAward
public static final FactType MilitaryAward
A fact of a person's military award.
-
MilitaryDischarge
public static final FactType MilitaryDischarge
A fact of a person's military discharge.
-
MilitaryDraftRegistration
public static final FactType MilitaryDraftRegistration
A fact of a person's registration for a military draft.
-
MilitaryInduction
public static final FactType MilitaryInduction
A fact of a person's military induction.
-
MilitaryService
public static final FactType MilitaryService
A fact of a person's militray service.
-
Mission
public static final FactType Mission
A fact of a person's church mission.
-
MoveFrom
public static final FactType MoveFrom
A fact of a person's move (i.e. change of residence) from a location.
-
MoveTo
public static final FactType MoveTo
A fact of a person's move (i.e. change of residence) to a new location.
-
MultipleBirth
public static final FactType MultipleBirth
A fact that a person was born as part of a multiple birth (e.g. twin, triplet, etc.)
-
NationalId
public static final FactType NationalId
A fact of a person's national id (e.g. social security number).
-
Nationality
public static final FactType Nationality
A fact of a person's nationality.
-
Naturalization
public static final FactType Naturalization
A fact of a person's naturalization (i.e. acquisition of citizenship and nationality).
-
NumberOfMarriages
public static final FactType NumberOfMarriages
A fact of a person's number of marriages.
-
Obituary
public static final FactType Obituary
A fact of a person's obituary.
-
Occupation
public static final FactType Occupation
A fact of a person's occupation or employment.
-
Ordination
public static final FactType Ordination
A fact of a person's ordination to a stewardship in a church.
-
Pardon
public static final FactType Pardon
A fact of a person's legal pardon.
-
PhysicalDescription
public static final FactType PhysicalDescription
A fact of a person's physical description.
-
Probate
public static final FactType Probate
A fact of a receipt of probate of a person's property.
-
Property
public static final FactType Property
A fact of a person's property or possessions.
-
Race
public static final FactType Race
A fact of the declaration of a person's race, presumably in a historical document.
-
Religion
public static final FactType Religion
A fact of a person's religion.
-
Residence
public static final FactType Residence
A fact of a person's residence.
-
Retirement
public static final FactType Retirement
A fact of a person's retirement.
-
Stillbirth
public static final FactType Stillbirth
A fact of a person's stillbirth.
-
TaxAssessment
public static final FactType TaxAssessment
A fact of a person's tax assessment.
-
Tribe
public static final FactType Tribe
A fact of a person's tribe.
-
Will
public static final FactType Will
A fact of a person's will.
-
Visit
public static final FactType Visit
A fact of a person's visit to a place different from the person's residence.
-
Yahrzeit
public static final FactType Yahrzeit
A fact of a person's _yahrzeit_ date. A person's yahzeit is the anniversary of their death as measured by the Hebrew calendar.
-
Annulment
public static final FactType Annulment
The fact of an annulment of a marriage.
-
CommonLawMarriage
public static final FactType CommonLawMarriage
The fact of a marriage by common law.
-
CivilUnion
public static final FactType CivilUnion
The fact of a civil union.
-
Divorce
public static final FactType Divorce
The fact of a divorce of a couple.
-
DivorceFiling
public static final FactType DivorceFiling
The fact of a filing for divorce.
-
DomesticPartnership
public static final FactType DomesticPartnership
The fact of a domestic partnership.
-
Engagement
public static final FactType Engagement
The fact of an engagement to be married.
-
Marriage
public static final FactType Marriage
The fact of a marriage.
-
MarriageBanns
public static final FactType MarriageBanns
The fact of a marriage banns.
-
MarriageContract
public static final FactType MarriageContract
The fact of a marriage contract.
-
MarriageLicense
public static final FactType MarriageLicense
The fact of a marriage license.
-
MarriageNotice
public static final FactType MarriageNotice
The fact of a marriage notice.
-
NumberOfChildren
public static final FactType NumberOfChildren
A fact of the number of children of a person or relationship.
-
Separation
public static final FactType Separation
A fact of a couple's separation.
-
AdoptiveParent
public static final FactType AdoptiveParent
A fact about an adoptive relationship between a parent an a child.
-
BiologicalParent
public static final FactType BiologicalParent
A fact the biological relationship between a parent and a child.
-
FosterParent
public static final FactType FosterParent
A fact about a foster relationship between a foster parent and a child.
-
GuardianParent
public static final FactType GuardianParent
A fact about a legal guardianship between a parent and a child.
-
StepParent
public static final FactType StepParent
A fact about the step relationship between a parent and a child.
-
SociologicalParent
public static final FactType SociologicalParent
A fact about a sociological relationship between a parent and a child, but not definable in typical legal or biological terms.
-
SurrogateParent
public static final FactType SurrogateParent
A fact about a pregnancy surrogate relationship between a parent and a child.
-
OTHER
public static final FactType OTHER
-
-
Method Detail
-
values
public static FactType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FactType c : FactType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FactType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isBirthLike
public boolean isBirthLike()
-
isDeathLike
public boolean isDeathLike()
-
isMarriageLike
public boolean isMarriageLike()
-
isDivorceLike
public boolean isDivorceLike()
-
isMigrationLike
public boolean isMigrationLike()
-
toQNameURI
public URI toQNameURI()
Return the QName value for this enum.- Specified by:
toQNameURIin interfaceControlledVocabulary- Returns:
- The QName value for this enum.
-
-