public static enum IdMessage.Strength extends java.lang.Enum<IdMessage.Strength>
Enum Constant and Description |
---|
EPHEMERAL
The id is managed by the client and is generally unknown to the server.
|
PERSISTED
The id is indefinitely persistent and can be freely reused by the client
and the server.
|
SYNTHETIC
The id not not managed by the client or server and is valid only for the
duration of a single request or response.
|
Modifier and Type | Method and Description |
---|---|
static IdMessage.Strength |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IdMessage.Strength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@AutoBean.PropertyName(value="0") public static final IdMessage.Strength PERSISTED
@AutoBean.PropertyName(value="1") public static final IdMessage.Strength EPHEMERAL
@AutoBean.PropertyName(value="2") public static final IdMessage.Strength SYNTHETIC
public static IdMessage.Strength[] values()
for (IdMessage.Strength c : IdMessage.Strength.values()) System.out.println(c);
public static IdMessage.Strength 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 null