Package io.micronaut.data.model.naming
Class NamingStrategies.UnderScoreSeparatedLowerCase
java.lang.Object
io.micronaut.data.model.naming.NamingStrategies.UnderScoreSeparatedLowerCase
- All Implemented Interfaces:
NamingStrategy
- Enclosing class:
- NamingStrategies
public static class NamingStrategies.UnderScoreSeparatedLowerCase
extends Object
implements NamingStrategy
Example: foo_bar.
-
Field Summary
Fields inherited from interface io.micronaut.data.model.naming.NamingStrategy
DEFAULT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull String
mappedName
(@NonNull String name) Return the mapped name for the given name.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.data.model.naming.NamingStrategy
getForeignKeySuffix, mappedAssociatedName, mappedJoinTableColumn, mappedName, mappedName, mappedName, mappedName, mappedName
-
Constructor Details
-
UnderScoreSeparatedLowerCase
public UnderScoreSeparatedLowerCase()
-
-
Method Details
-
mappedName
Description copied from interface:NamingStrategy
Return the mapped name for the given name.- Specified by:
mappedName
in interfaceNamingStrategy
- Parameters:
name
- The name- Returns:
- The mapped name
-