public enum RetentionPolicyPolicyTypeField extends Enum<RetentionPolicyPolicyTypeField> implements Valuable
| Modifier and Type | Class and Description |
|---|---|
static class |
RetentionPolicyPolicyTypeField.RetentionPolicyPolicyTypeFieldDeserializer |
static class |
RetentionPolicyPolicyTypeField.RetentionPolicyPolicyTypeFieldSerializer |
| Enum Constant and Description |
|---|
FINITE |
INDEFINITE |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static RetentionPolicyPolicyTypeField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RetentionPolicyPolicyTypeField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RetentionPolicyPolicyTypeField FINITE
public static final RetentionPolicyPolicyTypeField INDEFINITE
public static RetentionPolicyPolicyTypeField[] values()
for (RetentionPolicyPolicyTypeField c : RetentionPolicyPolicyTypeField.values()) System.out.println(c);
public static RetentionPolicyPolicyTypeField valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null