Enum UserState.Code
- java.lang.Object
-
- java.lang.Enum<UserState.Code>
-
- io.snice.codecs.codec.diameter.avp.api.UserState.Code
-
- All Implemented Interfaces:
Serializable
,Comparable<UserState.Code>
- Enclosing interface:
- UserState
public static enum UserState.Code extends Enum<UserState.Code>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACHED_NOT_REACHABLE_FOR_PAGING
ATTACHED_REACHABLE_FOR_PAGING
CONNECTED_NOT_REACHABLE_FOR_PAGING
CONNECTED_REACHABLE_FOR_PAGING
DETACHED
NETWORK_DETERMINED_NOT_REACHABLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
static UserState.Code
valueOf(String name)
Returns the enum constant of this type with the specified name.static UserState.Code[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DETACHED
public static final UserState.Code DETACHED
-
ATTACHED_NOT_REACHABLE_FOR_PAGING
public static final UserState.Code ATTACHED_NOT_REACHABLE_FOR_PAGING
-
ATTACHED_REACHABLE_FOR_PAGING
public static final UserState.Code ATTACHED_REACHABLE_FOR_PAGING
-
CONNECTED_NOT_REACHABLE_FOR_PAGING
public static final UserState.Code CONNECTED_NOT_REACHABLE_FOR_PAGING
-
CONNECTED_REACHABLE_FOR_PAGING
public static final UserState.Code CONNECTED_REACHABLE_FOR_PAGING
-
NETWORK_DETERMINED_NOT_REACHABLE
public static final UserState.Code NETWORK_DETERMINED_NOT_REACHABLE
-
-
Method Detail
-
values
public static UserState.Code[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UserState.Code c : UserState.Code.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserState.Code valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public int getCode()
-
-