Package org.gedcomx.types
Enum NamePartQualifierType
- java.lang.Object
-
- java.lang.Enum<NamePartQualifierType>
-
- org.gedcomx.types.NamePartQualifierType
-
- All Implemented Interfaces:
Serializable,Comparable<NamePartQualifierType>,ControlledVocabulary
public enum NamePartQualifierType extends Enum<NamePartQualifierType> implements ControlledVocabulary
Enumeration of standard name part qualifiers.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CharacteristicA name derived from a characteristic.FamiliarA designation for one's familiar name.FamilyA name that associates a person with a group, such as a clan, tribe, or patriarchal hierarchy.GeographicA name derived from associated geography.MaidenA designation given by women to their original surname after they adopt a new surname upon marriage.MatronymicA name derived from a maternal ancestor.MiddleA designation useful for cultures that designate a middle name that is distinct from a given name and a surname.OccupationalA name derived from one's occupation.OTHERParticleA grammatical designation for articles (a, the, dem, las, el, etc.), prepositions (of, from, aus, zu, op, etc.), initials (e.g.PatronymicA name derived from a paternal ancestor.PostnomA name mandedated by law populations from Congo Free State / Belgian Congo / Congo / Democratic Republic of Congo (formerly Zaire).PrimaryA designation for the name of most prominent in importance among the names of that type (e.g., the primary given name).ReligiousA designation for a name given for religious purposes.SecondaryA designation for a name that is not primary in its importance among the names of that type (e.g., a secondary given name).TitleA designation for honorifics (e.g.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NamePartQualifierTypefromQNameURI(URI qname)Get the enumeration from the QName.URItoQNameURI()Return the QName value for this enum.static NamePartQualifierTypevalueOf(String name)Returns the enum constant of this type with the specified name.static NamePartQualifierType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Title
public static final NamePartQualifierType Title
A designation for honorifics (e.g. Dr., Rev., His Majesty, Haji), ranks (e.g. Colonel, General, Knight, Esquire), positions (e.g. Count, Chief, Father, King) or other titles (e.g., PhD, MD)
-
Primary
public static final NamePartQualifierType Primary
A designation for the name of most prominent in importance among the names of that type (e.g., the primary given name).
-
Secondary
public static final NamePartQualifierType Secondary
A designation for a name that is not primary in its importance among the names of that type (e.g., a secondary given name).
-
Middle
public static final NamePartQualifierType Middle
A designation useful for cultures that designate a middle name that is distinct from a given name and a surname.
-
Familiar
public static final NamePartQualifierType Familiar
A designation for one's familiar name.
-
Religious
public static final NamePartQualifierType Religious
A designation for a name given for religious purposes.
-
Family
public static final NamePartQualifierType Family
A name that associates a person with a group, such as a clan, tribe, or patriarchal hierarchy.
-
Maiden
public static final NamePartQualifierType Maiden
A designation given by women to their original surname after they adopt a new surname upon marriage.
-
Patronymic
public static final NamePartQualifierType Patronymic
A name derived from a paternal ancestor.
-
Matronymic
public static final NamePartQualifierType Matronymic
A name derived from a maternal ancestor.
-
Geographic
public static final NamePartQualifierType Geographic
A name derived from associated geography.
-
Occupational
public static final NamePartQualifierType Occupational
A name derived from one's occupation.
-
Characteristic
public static final NamePartQualifierType Characteristic
A name derived from a characteristic.
-
Postnom
public static final NamePartQualifierType Postnom
A name mandedated by law populations from Congo Free State / Belgian Congo / Congo / Democratic Republic of Congo (formerly Zaire).
-
Particle
public static final NamePartQualifierType Particle
A grammatical designation for articles (a, the, dem, las, el, etc.), prepositions (of, from, aus, zu, op, etc.), initials (e.g. PhD, MD), annotations (e.g. twin, spouse, infant, unknown), comparators (e.g. Junior, Senior, younger, little), ordinals (e.g. III, eighth), and conjunctions (e.g. and, or, nee, ou, y, o, ne, &).
-
OTHER
public static final NamePartQualifierType OTHER
-
-
Method Detail
-
values
public static NamePartQualifierType[] 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 (NamePartQualifierType c : NamePartQualifierType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NamePartQualifierType 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.
-
fromQNameURI
public static NamePartQualifierType fromQNameURI(URI qname)
Get the enumeration from the QName.- Parameters:
qname- The qname.- Returns:
- The enumeration.
-
-