public enum PropertyNamingStrategy extends Enum<PropertyNamingStrategy>
Enum Constant and Description |
---|
CamelCase |
KebabCase |
NoChange |
PascalCase |
SnakeCase |
Modifier and Type | Method and Description |
---|---|
String |
translate(String propertyName) |
static PropertyNamingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyNamingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyNamingStrategy CamelCase
public static final PropertyNamingStrategy PascalCase
public static final PropertyNamingStrategy SnakeCase
public static final PropertyNamingStrategy KebabCase
public static final PropertyNamingStrategy NoChange
public static PropertyNamingStrategy[] values()
for (PropertyNamingStrategy c : PropertyNamingStrategy.values()) System.out.println(c);
public static PropertyNamingStrategy 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 © 2012–2020 Alibaba Group. All rights reserved.