Package org.gedcomx.types
Enum EventType
- java.lang.Object
-
- java.lang.Enum<EventType>
-
- org.gedcomx.types.EventType
-
- All Implemented Interfaces:
Serializable,Comparable<EventType>,ControlledVocabulary
public enum EventType extends Enum<EventType> implements ControlledVocabulary
Enumeration of standard event types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AdoptionAn adoption event.AdultChristeningAn adult christening event.AnnulmentAn annulment event of a marriage.BaptismA baptism event.BarMitzvahA bar mitzvah event.BatMitzvahA bat mitzvah event.BirthA birth event.BlessingA an official blessing event, such as at the hands of a clergy member or at another religious rite.BurialA burial event.CensusA census event.ChristeningA christening event *at birth*.CircumcisionA circumcision event.ConfirmationA confirmation event (or other rite of initiation) in a church or religion.CremationA cremation event after death.DeathA death event.DivorceA divorce event.DivorceFilingA divorce filing event.EducationA education or an educational achievement event (e.g.EmigrationAn emigration event.EngagementAn engagement to be married event.EnslavementAn enslavement event.ExcommunicationAn excommunication event from a church.FirstCommunionA first communion event.FuneralA funeral event.ImmigrationAn immigration event.InquestA legal inquest.LandTransactionA land transaction event.MarriageA marriage event.MilitaryAwardA military award event.MilitaryDischargeA military discharge event.MissionA mission event.MoveFromAn event of a move (i.e.MoveToAn event of a move (i.e.NaturalizationA naturalization event (i.e.OrdinationAn ordination event.OTHERRetirementA retirement event.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventTypefromQNameURI(URI qname)Get the enumeration from the QName.URItoQNameURI()Return the QName value for this enum.static EventTypevalueOf(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.
-
-
-
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.
-
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 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 nameNullPointerException- if the argument is null
-
toQNameURI
public URI toQNameURI()
Return the QName value for this enum.- Specified by:
toQNameURIin interfaceControlledVocabulary- Returns:
- The QName value for this enum.
-
-