public static enum ContactCheckResponse.State extends java.lang.Enum<ContactCheckResponse.State>
Enum Constant and Description |
---|
Exists
contact handle exists
|
Free
contact handle is free
|
Invalid
contact handle is invalid
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
denicToken
the DENIC token
|
private static java.util.Map<java.lang.String,ContactCheckResponse.State> |
tokenMap
map from the token to the type
|
Modifier and Type | Method and Description |
---|---|
static ContactCheckResponse.State |
fromToken(java.lang.String denicToken)
return the state for the given token
|
java.lang.String |
getDenicToken()
return the DENIC token
|
static ContactCheckResponse.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContactCheckResponse.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContactCheckResponse.State Free
public static final ContactCheckResponse.State Exists
public static final ContactCheckResponse.State Invalid
private java.lang.String denicToken
private static final java.util.Map<java.lang.String,ContactCheckResponse.State> tokenMap
public static ContactCheckResponse.State[] values()
for (ContactCheckResponse.State c : ContactCheckResponse.State.values()) System.out.println(c);
public static ContactCheckResponse.State valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getDenicToken()
public static ContactCheckResponse.State fromToken(java.lang.String denicToken)
denicToken
- the tokennull
if the
token is not foundCopyright © 2005-2013 Knipp Medien und Kommunikation GmbH