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