public enum GetterStyle extends Enum<GetterStyle>
Note that introspection always starts by looking for getters first: no-arg, non-void methods that follow the configured style. Then the mapper will try to find a matching field (which is not required), and, if the entity is mutable, a setter.
PropertyStrategy| Enum Constant and Description | 
|---|
| FLUENT"Fluent" style: any name will match (as long as the no-arg, not-void rule also holds), and is
 considered to be the property name without any prefix. | 
| JAVABEANS"JavaBeans" style: the method name must start with "get", or "is" for boolean properties. | 
| Modifier and Type | Method and Description | 
|---|---|
| static GetterStyle | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static GetterStyle[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final GetterStyle JAVABEANS
int getFoo() => foo.public static final GetterStyle FLUENT
int foo() => foo.
 Note that this is the convention used in compiled Scala case classes. Whenever the mapper
 processes a type that implements scala.Product, it will switch to this style by
 default.
public static GetterStyle[] values()
for (GetterStyle c : GetterStyle.values()) System.out.println(c);
public static GetterStyle 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 nullCopyright © 2017–2023. All rights reserved.