Enum IdMessage.Strength
java.lang.Object
java.lang.Enum<IdMessage.Strength>
com.google.web.bindery.requestfactory.shared.messages.IdMessage.Strength
- All Implemented Interfaces:
Serializable
,Comparable<IdMessage.Strength>
,java.lang.constant.Constable
- Enclosing interface:
IdMessage
Describes the longevity of the id.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe id is managed by the client and is generally unknown to the server.The id is indefinitely persistent and can be freely reused by the client and the server.The id not not managed by the client or server and is valid only for the duration of a single request or response. -
Method Summary
Modifier and TypeMethodDescriptionstatic IdMessage.Strength
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.
-
Enum Constant Details
-
PERSISTED
The id is indefinitely persistent and can be freely reused by the client and the server. -
EPHEMERAL
The id is managed by the client and is generally unknown to 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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-