public static enum AddrType.Type extends Enum<AddrType.Type>
| Enum Constant and Description |
|---|
DOMICILE |
EMERGENCY |
HOME |
VACATION |
WORK |
| Modifier and Type | Field and Description |
|---|---|
private String |
queryString |
private String |
urn |
| Modifier and Type | Method and Description |
|---|---|
String |
queryString() |
static AddrType.Type |
typeForName(String name) |
static AddrType.Type |
typeForUrn(String urn) |
String |
urn() |
static AddrType.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddrType.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddrType.Type DOMICILE
public static final AddrType.Type HOME
public static final AddrType.Type WORK
public static final AddrType.Type VACATION
public static final AddrType.Type EMERGENCY
public static AddrType.Type[] values()
for (AddrType.Type c : AddrType.Type.values()) System.out.println(c);
public static AddrType.Type 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 String urn()
public String queryString()
public static AddrType.Type typeForName(String name)
public static AddrType.Type typeForUrn(String urn)
Copyright © 1999–2015. All rights reserved.