public enum NamingStrategyImpls extends Enum<NamingStrategyImpls>
PropertyNamingStrategies
)
and enum naming strategies (see EnumNamingStrategies
).Enum Constant and Description |
---|
KEBAB_CASE
beanName
-> bean-name |
LOWER_CAMEL_CASE
beanName
-> beanName |
LOWER_CASE
beanName
-> beanname |
LOWER_DOT_CASE
beanName
-> bean.name |
SNAKE_CASE
beanName
-> bean_name |
UPPER_CAMEL_CASE
beanName
-> BeanName |
UPPER_SNAKE_CASE
beanName
-> BEAN_NAME |
Modifier and Type | Method and Description |
---|---|
abstract String |
translate(String beanName) |
static NamingStrategyImpls |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NamingStrategyImpls[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NamingStrategyImpls LOWER_CAMEL_CASE
->
beanNamepublic static final NamingStrategyImpls UPPER_CAMEL_CASE
->
BeanNamepublic static final NamingStrategyImpls SNAKE_CASE
->
bean_namepublic static final NamingStrategyImpls UPPER_SNAKE_CASE
->
BEAN_NAMEpublic static final NamingStrategyImpls LOWER_CASE
->
beannamepublic static final NamingStrategyImpls KEBAB_CASE
->
bean-namepublic static final NamingStrategyImpls LOWER_DOT_CASE
->
bean.namepublic static NamingStrategyImpls[] values()
for (NamingStrategyImpls c : NamingStrategyImpls.values()) System.out.println(c);
public static NamingStrategyImpls 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 © 2008–2025 FasterXML. All rights reserved.