public enum SetterStyle extends Enum<SetterStyle>
Note that introspection always starts by looking for getters first (see
Once a getter has been found, and if the entity is declared as
mutable, the mapper will try to find a matching setter: name inferred as described below,
exactly one argument matching the property type, and the return type does not matter.
|Enum Constant and Description|
"Fluent" style: the method name must be the name of the property, without any prefix, for example
"JavaBeans" style: the method name must start with "set", for example
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final SetterStyle JAVABEANS
int foo => setFoo(int).
public static final SetterStyle FLUENT
int foo => foo(int).
public static SetterStyle values()
for (SetterStyle c : SetterStyle.values()) System.out.println(c);
public static SetterStyle valueOf(String name)
name- the name of the enum constant to be returned.
IllegalArgumentException- if this enum type has no constant with the specified name
NullPointerException- if the argument is null
Copyright © 2017–2022. All rights reserved.