Package org.gedcomx.types
Enum Class EventType
- All Implemented Interfaces:
Serializable,Comparable<EventType>,Constable,ControlledVocabulary
Enumeration of standard event types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn adoption event.An adult christening event.An annulment event of a marriage.A baptism event.A bar mitzvah event.A bat mitzvah event.A birth event.A an official blessing event, such as at the hands of a clergy member or at another religious rite.A burial event.A census event.A christening event *at birth*.A circumcision event.A confirmation event (or other rite of initiation) in a church or religion.A cremation event after death.A death event.A divorce event.A divorce filing event.A education or an educational achievement event (e.g.An emigration event.An engagement to be married event.An enslavement event.An excommunication event from a church.A first communion event.A funeral event.An immigration event.A legal inquest.A land transaction event.A marriage event.A military award event.A military discharge event.A mission event.An event of a move (i.e.An event of a move (i.e.A naturalization event (i.e.An ordination event.A retirement event. -
Method Summary
Modifier and TypeMethodDescriptionstatic EventTypefromQNameURI(URI qname) Get the enumeration from the QName.Return the QName value for this enum.static EventTypeReturns the enum constant of this class with the specified name.static EventType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Adoption
An adoption event. -
AdultChristening
An adult christening event. -
Annulment
An annulment event of a marriage. -
Baptism
A baptism event. -
BarMitzvah
A bar mitzvah event. -
BatMitzvah
A bat mitzvah event. -
Birth
A birth event. -
Blessing
A an official blessing event, such as at the hands of a clergy member or at another religious rite. -
Burial
A burial event. -
Census
A census event. -
Christening
A christening event *at birth*. Note: use `AdultChristening` for a christening event as an adult. -
Circumcision
A circumcision event. -
Confirmation
A confirmation event (or other rite of initiation) in a church or religion. -
Cremation
A cremation event after death. -
Death
A death event. -
Divorce
A divorce event. -
DivorceFiling
A divorce filing event. -
Education
A education or an educational achievement event (e.g. diploma, graduation, scholarship, etc.). -
Engagement
An engagement to be married event. -
Emigration
An emigration event. -
Enslavement
An enslavement event. -
Excommunication
An excommunication event from a church. -
FirstCommunion
A first communion event. -
Funeral
A funeral event. -
Immigration
An immigration event. -
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
A land transaction event. -
Marriage
A marriage event. -
MilitaryAward
A military award event. -
MilitaryDischarge
A military discharge event. -
Mission
A mission event. -
MoveFrom
An event of a move (i.e. change of residence) from a location. -
MoveTo
An event of a move (i.e. change of residence) to a location. -
Naturalization
A naturalization event (i.e. acquisition of citizenship and nationality). -
Ordination
An ordination event. -
Retirement
A retirement event. -
OTHER
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
toQNameURI
Return the QName value for this enum.- Specified by:
toQNameURIin interfaceControlledVocabulary- Returns:
- The QName value for this enum.
-
fromQNameURI
Get the enumeration from the QName.- Parameters:
qname- The qname.- Returns:
- The enumeration.
-