|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NameType>
org.gedcomx.types.NameType
public enum NameType
Enumeration of standard name types.
| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| 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 |
|---|
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
| Method Detail |
|---|
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 name
NullPointerException - if the argument is nullpublic URI toQNameURI()
public static NameType fromQNameURI(URI qname)
qname - The qname.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||