org.gedcomx.types
Enum EventType

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

public enum EventType
extends Enum<EventType>

Enumeration of standard event types.


Enum Constant Summary
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*.
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.
Emigration
          An emigration event.
Engagement
          An engagement to be married 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.
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.
MoveTo
          An event of a move (i.e.
Naturalization
          A naturalization event (i.e.
Ordination
          An ordination event.
OTHER
           
Retirement
          A retirement event.
 
Method Summary
static EventType fromQNameURI(URI qname)
          Get the enumeration from the QName.
 URI toQNameURI()
          Return the QName value for this enum.
static EventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EventType[] 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 EventType Adoption
An adoption event.


AdultChristening

public static final EventType AdultChristening
An adult christening event.


Annulment

public static final EventType Annulment
An annulment event of a marriage.


Baptism

public static final EventType Baptism
A baptism event.


BarMitzvah

public static final EventType BarMitzvah
A bar mitzvah event.


BatMitzvah

public static final EventType BatMitzvah
A bat mitzvah event.


Birth

public static final EventType Birth
A birth event.


Blessing

public static final EventType Blessing
A an official blessing event, such as at the hands of a clergy member or at another religious rite.


Burial

public static final EventType Burial
A burial event.


Census

public static final EventType Census
A census event.


Christening

public static final EventType Christening
A christening event *at birth*. Note: use `AdultChristening` for a christening event as an adult.


Circumcision

public static final EventType Circumcision
A circumcision event.


Confirmation

public static final EventType Confirmation
A confirmation event (or other rite of initiation) in a church or religion.


Cremation

public static final EventType Cremation
A cremation event after death.


Death

public static final EventType Death
A death event.


Divorce

public static final EventType Divorce
A divorce event.


DivorceFiling

public static final EventType DivorceFiling
A divorce filing event.


Education

public static final EventType Education
A education or an educational achievement event (e.g. diploma, graduation, scholarship, etc.).


Engagement

public static final EventType Engagement
An engagement to be married event.


Emigration

public static final EventType Emigration
An emigration event.


Excommunication

public static final EventType Excommunication
An excommunication event from a church.


FirstCommunion

public static final EventType FirstCommunion
A first communion event.


Funeral

public static final EventType Funeral
A funeral event.


Immigration

public static final EventType Immigration
An immigration event.


Inquest

public static final EventType 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 EventType LandTransaction
A land transaction event.


Marriage

public static final EventType Marriage
A marriage event.


MilitaryAward

public static final EventType MilitaryAward
A military award event.


MilitaryDischarge

public static final EventType MilitaryDischarge
A military discharge event.


Mission

public static final EventType Mission
A mission event.


MoveFrom

public static final EventType MoveFrom
An event of a move (i.e. change of residence) from a location.


MoveTo

public static final EventType MoveTo
An event of a move (i.e. change of residence) to a location.


Naturalization

public static final EventType Naturalization
A naturalization event (i.e. acquisition of citizenship and nationality).


Ordination

public static final EventType Ordination
An ordination event.


Retirement

public static final EventType Retirement
A retirement event.


OTHER

public static final EventType OTHER
Method Detail

values

public static EventType[] 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 (EventType c : EventType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EventType 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

toQNameURI

public URI toQNameURI()
Return the QName value for this enum.

Returns:
The QName value for this enum.

fromQNameURI

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

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


Copyright © 2015. All rights reserved.