Enum Class EventType

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

public enum EventType extends Enum<EventType> implements ControlledVocabulary
Enumeration of standard event types.
  • Enum Constant Details

    • 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.
    • Enslavement

      public static final EventType Enslavement
      An enslavement 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 Details

    • values

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

      public static EventType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toQNameURI

      public URI toQNameURI()
      Return the QName value for this enum.
      Specified by:
      toQNameURI in interface ControlledVocabulary
      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.