public enum NameType extends Enum<NameType> implements ControlledVocabulary
| Enum Constant and Description |
|---|
AdoptiveName
Name given at adoption.
|
AlsoKnownAs
"Also known as" name.
|
BirthName
Name given at birth.
|
DeathName
Name used at the time of death.
|
FormalName
A formal name, usually given to distinguish it from a name more commonly used.
|
MarriedName
Name accepted at marriage.
|
Nickname
Nickname.
|
OTHER |
ReligiousName
A name given at a religious rite or ceremony.
|
| Modifier and Type | Method and Description |
|---|---|
static NameType |
fromQNameURI(URI qname)
Get the enumeration from the QName.
|
URI |
toQNameURI()
Return the QName value for this enum.
|
static NameType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NameType BirthName
public static final NameType DeathName
public static final NameType MarriedName
public static final NameType AlsoKnownAs
public static final NameType Nickname
public static final NameType AdoptiveName
public static final NameType FormalName
public static final NameType ReligiousName
public static final NameType OTHER
public static NameType[] values()
for (NameType c : NameType.values()) System.out.println(c);
public static NameType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic URI toQNameURI()
toQNameURI in interface ControlledVocabularyCopyright © 2016. All rights reserved.