org.gedcomx.types
Enum NamePartQualifierType

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

public enum NamePartQualifierType
extends Enum<NamePartQualifierType>

Enumeration of standard name part qualifiers.


Enum Constant Summary
Characteristic
          A name derived from a characteristic.
Familiar
          A designation for one's familiar name.
Family
          A name that associates a person with a group, such as a clan, tribe, or patriarchal hierarchy.
Geographic
          A name derived from associated geography.
Maiden
          A designation given by women to their original surname after they adopt a new surname upon marriage.
Matronymic
          A name derived from a mother or maternal ancestor.
Middle
          A designation useful for cultures that designate a middle name that is distinct from a given name and a surname.
Occupational
          A name derived from one's occupation.
OTHER
           
Particle
          A grammatical designation for articles (a, the, dem, las, el, etc.), prepositions (of, from, aus, zu, op, etc.), initials (e.g.
Patronymic
          A name derived from a father or paternal ancestor.
Postnom
          A name mandedated by law populations from Congo Free State / Belgian Congo / Congo / Democratic Republic of Congo (formerly Zaire).
Primary
          A designation for the name of most prominent in importance among the names of that type (e.g., the primary given name).
Religious
          A designation for a name given for religious purposes.
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).
Title
          A designation for honorifics (e.g.
 
Method Summary
static NamePartQualifierType fromQNameURI(URI qname)
          Get the enumeration from the QName.
 URI toQNameURI()
          Return the QName value for this enum.
static NamePartQualifierType valueOf(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.
 
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

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 father or paternal ancestor.


Matronymic

public static final NamePartQualifierType Matronymic
A name derived from a mother or 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, wife of, 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 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 NamePartQualifierType fromQNameURI(URI qname)
Get the enumeration from the QName.

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


Copyright © 2015. All rights reserved.