org.gedcomx.types
Enum RecordType

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

public enum RecordType
extends Enum<RecordType>

Enumeration of known record types.

Author:
Ryan Heaton

Enum Constant Summary
Admission
          A record of a person's admission to an institution, society, or other association.
Adoption
          A record of an adoption.
Affidavit
          An affidavit.
Application
          A person's application to an institution, society or other association.
Arrival
          A record of a person's arrival at a certain place.
Bank
          A bank record.
Baptism
          A record of a person's baptism.
Birth
          A record of a birth.
Burial
          A record of a person's burial or interment.
Business
          todo: document this type.
Cemetery
          todo: document this type.
Census
          A census record.
Christening
          A record of a person's christening.
Confirmation
          A record of a person's confirmation.
Correspondence
          todo: document this type.
Death
          A death record.
Departure
          A record of a person's departure from a certain place.
Divorce
          A divorce record.
Draft
          A draft record.
Duplicate
          todo: document this type.
Estate
          todo: document this type.
Index
          todo: document this type.
IntendedMarriage
          todo: document this type.
Land
          A land record.
Legal
          A legal record.
Marriage
          A marriage record.
MarriageAffidavit
          A marriage affadavit.
MarriageAmendment
          todo: document this type.
MarriageBanns
          A record of a person's banns of marriage.
MarriageConsent
          todo: document this type.
MarriageDuplicate
          todo: document this type.
MarriageLicense
          A marriage license.
MarriageReturns
          todo: document this type.
Membership
          todo: document this type.
Migration
          A migration record.
Military
          A military record.
Naturalization
          A naturalization record.
OTHER
          Custom
Passenger
          A passenger record.
Pension
          A pension record.
Probate
          A probate record.
RelatedDocument
          todo: document this type.
ReligiousCreeds
          todo: document this type.
Residence
          A Residence record
Roll
          A roll.
Tax
          A tax record.
Vital
          A vital record.
 
Method Summary
static RecordType fromQNameURI(URI qname)
          Get the enumeration from the QName.
 URI toQNameURI()
          Return the QName value for this enum.
static RecordType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RecordType[] 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

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.


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.


Legal

public static final RecordType Legal
A legal 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.


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.


OTHER

public static final RecordType OTHER
Custom

Method Detail

values

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

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

valueOf

public static RecordType 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 RecordType fromQNameURI(URI qname)
Get the enumeration from the QName.

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


Copyright © 2015. All rights reserved.