org.openliberty.xmltooling.pp.dst2_1.ct
Enum AddrType.Type
java.lang.Object
java.lang.Enum<AddrType.Type>
org.openliberty.xmltooling.pp.dst2_1.ct.AddrType.Type
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<AddrType.Type>
- Enclosing class:
- AddrType
public static enum AddrType.Type
- extends java.lang.Enum<AddrType.Type>
This Enumeration holds the 5 AddressCard AddrTypes shown in
section 2.1.1 of the liberty-idsis-pp-v1.1 reference document
in Table 3, Data Availability Discovery Option Keywords and in
section 5.7.1 defining the AddrType element.
- Author:
- asa
|
Method Summary |
java.lang.String |
queryString()
|
static AddrType.Type |
valueOf(java.lang.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're declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
DOMICILE
public static final AddrType.Type DOMICILE
HOME
public static final AddrType.Type HOME
WORK
public static final AddrType.Type WORK
VACATION
public static final AddrType.Type VACATION
EMERGENCY
public static final AddrType.Type EMERGENCY
queryString
private java.lang.String queryString
values
public static final AddrType.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(AddrType.Type c : AddrType.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static AddrType.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
queryString
public java.lang.String queryString()