public enum ReflectPropertyAccessStrategy extends Enum<ReflectPropertyAccessStrategy> implements net.thevpc.nuts.NutsEnum
| Modifier and Type | Method and Description |
|---|---|
String |
id() |
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 String id()
id in interface net.thevpc.nuts.NutsEnumpublic static ReflectPropertyAccessStrategy parseLenient(String value)
public static ReflectPropertyAccessStrategy parseLenient(String value, ReflectPropertyAccessStrategy emptyOrErrorValue)
public static ReflectPropertyAccessStrategy parseLenient(String value, ReflectPropertyAccessStrategy emptyValue, ReflectPropertyAccessStrategy errorValue)
Copyright © 2021 vpc open source initiative. All rights reserved.