org.gedcomx.types
Enum FactType

java.lang.Object
  extended by java.lang.Enum<FactType>
      extended by org.gedcomx.types.FactType
All Implemented Interfaces:
Serializable, Comparable<FactType>

public enum FactType
extends Enum<FactType>

Enumeration of standard fact types.


Nested Class Summary
static class FactType.Couple
           
static class FactType.ParentChild
           
static class FactType.Person
          Enumeration of types that are applicable to a person.
 
Enum Constant Summary
Adoption
          A fact of a person's adoption.
AdoptiveParent
          A fact about an adoptive relationship between a parent an a child.
AdultChristening
          A fact of a person's christening as an adult.
Amnesty
          A fact of a person's amnesty.
Annulment
          The fact of an annulment of a marriage.
Apprenticeship
          A fact of a person's apprenticeship.
Arrest
          A fact of a person's arrest.
Baptism
          A fact of a person's baptism.
BarMitzvah
          A fact of a person's bar mitzvah.
BatMitzvah
          A fact of a person's bat mitzvah.
BiologicalParent
          A fact the biological relationship between a parent and a child.
Birth
          A fact of a person's birth.
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.
Burial
          A fact of the burial of person's body after death.
Caste
          A fact of a person's caste.
Census
          A fact of a person's participation in a census.
Christening
          A fact of a person's christening *at birth*.
Circumcision
          A fact of a person's circumcision.
CivilUnion
          The fact of a civil union.
Clan
          A fact of a person's clan.
CommonLawMarriage
          The fact of a marriage by common law.
Confirmation
          A fact of a person's confirmation (or other rite of initiation) in a church or religion.
Court
          A fact of the appearance of a person in a court proceeding.
Cremation
          A fact of the cremation of person's body after death.
Death
          A fact of the death of a person.
Divorce
          The fact of a divorce of a couple.
DivorceFiling
          The fact of a filing for divorce.
DomesticPartnership
          The fact of a domestic partnership.
Education
          A fact of an education of a person.
EducationEnrollment
          A fact of a person's enrollment in an educational program or institution.
Emigration
          A fact of the emigration of a person.
Engagement
          The fact of an engagement to be married.
Ethnicity
          A fact of a person's ethnicity or race.
Excommunication
          A fact of a person's excommunication from a church.
FirstCommunion
          A fact of a person's first communion in a church.
FosterParent
          A fact about a foster relationship between a foster parent and a child.
Funeral
          A fact of a person's funeral.
GenderChange
          A fact of a person's gender change.
Graduation
          A fact of a person's graduation from a scholastic institution.
GuardianParent
          A fact about a legal guardianship between a parent and a child.
Immigration
          A fact of a person's immigration.
Imprisonment
          A fact of a person's imprisonment.
Inquest
          A legal inquest.
LandTransaction
          A fact of a land transaction enacted by a person.
Language
          A fact of a language spoken by a person.
Living
          A fact of a record of a person's living for a specific period.
MaritalStatus
          A fact of a person's marital status.
Marriage
          The fact of a marriage.
MarriageBanns
          The fact of a marriage banns.
MarriageContract
          The fact of a marriage contract.
MarriageLicense
          The fact of a marriage license.
MarriageNotice
          The fact of a marriage notice.
Medical
          A fact of a person's medical record, such as for an illness or hospital stay.
MilitaryAward
          A fact of a person's military award.
MilitaryDischarge
          A fact of a person's military discharge.
MilitaryDraftRegistration
          A fact of a person's registration for a military draft.
MilitaryInduction
          A fact of a person's military induction.
MilitaryService
          A fact of a person's militray service.
Mission
          A fact of a person's church mission.
MoveFrom
          A fact of a person's move (i.e.
MoveTo
          A fact of a person's move (i.e.
MultipleBirth
          A fact that a person was born as part of a multiple birth (e.g.
NationalId
          A fact of a person's national id (e.g.
Nationality
          A fact of a person's nationality.
Naturalization
          A fact of a person's naturalization (i.e.
NumberOfChildren
          A fact of the number of children of a person or relationship.
NumberOfMarriages
          A fact of a person's number of marriages.
Obituary
          A fact of a person's obituary.
Occupation
          A fact of a person's occupation or employment.
Ordination
          A fact of a person's ordination to a stewardship in a church.
OTHER
           
Pardon
          A fact of a person's legal pardon.
PhysicalDescription
          A fact of a person's physical description.
Probate
          A fact of a receipt of probate of a person's property.
Property
          A fact of a person's property or possessions.
Religion
          A fact of a person's religion.
Residence
          A fact of a person's residence.
Retirement
          A fact of a person's retirement.
Separation
          A fact of a couple's separation.
SociologicalParent
          A fact about a sociological relationship between a parent and a child, but not definable in typical legal or biological terms.
StepParent
          A fact about the step relationship between a parent and a child.
Stillbirth
          A fact of a person's stillbirth.
TaxAssessment
          A fact of a person's tax assessment.
Visit
          A fact of a person's visit to a place different from the person's residence.
Will
          A fact of a person's will.
Yahrzeit
          A fact of a person's _yahrzeit_ date.
 
Field Summary
static Set<FactType> BIRTHLIKE_FACT_TYPES
           
static Set<FactType> DEATHLIKE_FACT_TYPES
           
static Set<FactType> DIVORCELIKE_FACT_TYPES
           
static Set<FactType> MARRIAGELIKE_FACT_TYPES
           
static Set<FactType> MIGRATIONLIKE_FACT_TYPES
           
 
Method Summary
static FactType fromQNameURI(URI qname)
          Get the enumeration from the QName.
 boolean isBirthLike()
           
 boolean isDeathLike()
           
 boolean isDivorceLike()
           
 boolean isMarriageLike()
           
 boolean isMigrationLike()
           
 URI toQNameURI()
          Return the QName value for this enum.
static FactType valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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.


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.


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.


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.


Cremation

public static final FactType Cremation
A fact of the cremation of person's body after death.


Court

public static final FactType Court
A fact of the appearance of a person in a court proceeding.


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.


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.


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.


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.


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.


OTHER

public static final FactType OTHER
Field Detail

BIRTHLIKE_FACT_TYPES

public static final Set<FactType> BIRTHLIKE_FACT_TYPES

DEATHLIKE_FACT_TYPES

public static final Set<FactType> DEATHLIKE_FACT_TYPES

MARRIAGELIKE_FACT_TYPES

public static final Set<FactType> MARRIAGELIKE_FACT_TYPES

DIVORCELIKE_FACT_TYPES

public static final Set<FactType> DIVORCELIKE_FACT_TYPES

MIGRATIONLIKE_FACT_TYPES

public static final Set<FactType> MIGRATIONLIKE_FACT_TYPES
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 name
NullPointerException - 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.

Returns:
The QName value for this enum.

fromQNameURI

public static FactType fromQNameURI(URI qname)
Get the enumeration from the QName.

Parameters:
qname - The qname.
Returns:
The enumeration.


Copyright © 2015. All rights reserved.