Package dev.morphia.mapping.strategy
Class SnakeCase
- java.lang.Object
-
- dev.morphia.mapping.NamingStrategy
-
- dev.morphia.mapping.strategy.SnakeCase
-
public class SnakeCase extends NamingStrategy
-
-
Constructor Summary
Constructors Constructor Description SnakeCase()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
apply(String value)
Applies this naming strategy to the given valuestatic List<String>
groupByCapitals(String value)
-
-
-
Method Detail
-
apply
public String apply(String value)
Description copied from class:NamingStrategy
Applies this naming strategy to the given value- Specified by:
apply
in classNamingStrategy
- Parameters:
value
- the value to process- Returns:
- the updated value
-
-