public enum ReflectPropertyDefaultValueStrategy extends Enum<ReflectPropertyDefaultValueStrategy> implements net.thevpc.nuts.NutsEnum
| Enum Constant and Description |
|---|
NO_DEFAULT |
PROPERTY_DEFAULT |
TYPE_DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
String |
id() |
static ReflectPropertyDefaultValueStrategy |
parseLenient(String value) |
static ReflectPropertyDefaultValueStrategy |
parseLenient(String value,
ReflectPropertyDefaultValueStrategy emptyOrErrorValue) |
static ReflectPropertyDefaultValueStrategy |
parseLenient(String value,
ReflectPropertyDefaultValueStrategy emptyValue,
ReflectPropertyDefaultValueStrategy errorValue) |
static ReflectPropertyDefaultValueStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReflectPropertyDefaultValueStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReflectPropertyDefaultValueStrategy TYPE_DEFAULT
public static final ReflectPropertyDefaultValueStrategy PROPERTY_DEFAULT
public static final ReflectPropertyDefaultValueStrategy NO_DEFAULT
public static ReflectPropertyDefaultValueStrategy[] values()
for (ReflectPropertyDefaultValueStrategy c : ReflectPropertyDefaultValueStrategy.values()) System.out.println(c);
public static ReflectPropertyDefaultValueStrategy 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 nullpublic String id()
id in interface net.thevpc.nuts.NutsEnumpublic static ReflectPropertyDefaultValueStrategy parseLenient(String value)
public static ReflectPropertyDefaultValueStrategy parseLenient(String value, ReflectPropertyDefaultValueStrategy emptyOrErrorValue)
public static ReflectPropertyDefaultValueStrategy parseLenient(String value, ReflectPropertyDefaultValueStrategy emptyValue, ReflectPropertyDefaultValueStrategy errorValue)
Copyright © 2021 vpc open source initiative. All rights reserved.