Enum Class RecordType

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

public enum RecordType extends Enum<RecordType> implements ControlledVocabulary
Enumeration of known record types.
Author:
Ryan Heaton
  • Enum Constant Details

    • Admission

      public static final RecordType Admission
      A record of a person's admission to an institution, society, or other association.
    • Adoption

      public static final RecordType Adoption
      A record of an adoption.
    • Affidavit

      public static final RecordType Affidavit
      An affidavit.
    • Application

      public static final RecordType Application
      A person's application to an institution, society or other association.
    • Arrival

      public static final RecordType Arrival
      A record of a person's arrival at a certain place.
    • Bank

      public static final RecordType Bank
      A bank record.
    • Baptism

      public static final RecordType Baptism
      A record of a person's baptism.
    • Birth

      public static final RecordType Birth
      A record of a birth.
    • Burial

      public static final RecordType Burial
      A record of a person's burial or interment.
    • Business

      public static final RecordType Business
      todo: document this type.
    • Cemetery

      public static final RecordType Cemetery
      todo: document this type.
    • Census

      public static final RecordType Census
      A census record.
    • Christening

      public static final RecordType Christening
      A record of a person's christening.
    • CompiledGenealogy

      public static final RecordType CompiledGenealogy
      A Compiled Genealogy
    • Confirmation

      public static final RecordType Confirmation
      A record of a person's confirmation.
    • Correspondence

      public static final RecordType Correspondence
      todo: document this type.
    • Death

      public static final RecordType Death
      A death record.
    • Departure

      public static final RecordType Departure
      A record of a person's departure from a certain place.
    • Divorce

      public static final RecordType Divorce
      A divorce record.
    • Duplicate

      public static final RecordType Duplicate
      todo: document this type.
    • Draft

      public static final RecordType Draft
      A draft record.
    • Estate

      public static final RecordType Estate
      todo: document this type.
    • Index

      public static final RecordType Index
      todo: document this type.
    • IntendedMarriage

      public static final RecordType IntendedMarriage
      todo: document this type. what's the difference between this an MarrigeBanns?
    • Land

      public static final RecordType Land
      A land record.
    • Marriage

      public static final RecordType Marriage
      A marriage record.
    • MarriageAffidavit

      public static final RecordType MarriageAffidavit
      A marriage affadavit. todo: is this distinguishment necessary? why not just use Marriage?
    • MarriageAmendment

      public static final RecordType MarriageAmendment
      todo: document this type.
    • MarriageBanns

      public static final RecordType MarriageBanns
      A record of a person's banns of marriage.
    • MarriageConsent

      public static final RecordType MarriageConsent
      todo: document this type. why not just use marriage banns?
    • MarriageDuplicate

      public static final RecordType MarriageDuplicate
      todo: document this type.
    • MarriageLicense

      public static final RecordType MarriageLicense
      A marriage license. todo: is this distinguishment necessary? why not just use Marriage?
    • MarriageReturns

      public static final RecordType MarriageReturns
      todo: document this type. is this distinguishment necessary? why not just use Marriage?
    • Membership

      public static final RecordType Membership
      todo: document this type. is this distinguishment necessary?
    • Migration

      public static final RecordType Migration
      A migration record.
    • Military

      public static final RecordType Military
      A military record.
    • Naturalization

      public static final RecordType Naturalization
      A naturalization record.
    • Newspaper

      public static final RecordType Newspaper
      A newspaper article or record.
    • Obituary

      public static final RecordType Obituary
      A Obituary record
    • Passenger

      public static final RecordType Passenger
      A passenger record.
    • Pension

      public static final RecordType Pension
      A pension record.
    • Probate

      public static final RecordType Probate
      A probate record.
    • RelatedDocument

      public static final RecordType RelatedDocument
      todo: document this type.
    • ReligiousCreeds

      public static final RecordType ReligiousCreeds
      todo: document this type.
    • Residence

      public static final RecordType Residence
      A Residence record
    • Roll

      public static final RecordType Roll
      A roll.
    • Tax

      public static final RecordType Tax
      A tax record.
    • Vital

      public static final RecordType Vital
      A vital record.
    • VoterRegistration

      public static final RecordType VoterRegistration
      A voter registration record.
    • Will

      public static final RecordType Will
      A will.
    • OTHER

      public static final RecordType OTHER
      Custom
  • Method Details

    • values

      public static RecordType[] 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 RecordType 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 RecordType fromQNameURI(URI qname)
      Get the enumeration from the QName.
      Parameters:
      qname - The qname.
      Returns:
      The enumeration.