Package io.micronaut.data.model.naming
Class NamingStrategies.UnderScoreSeparatedUpperCase
java.lang.Object
io.micronaut.data.model.naming.NamingStrategies.UnderScoreSeparatedUpperCase
- All Implemented Interfaces:
NamingStrategy
- Enclosing class:
- NamingStrategies
public static class NamingStrategies.UnderScoreSeparatedUpperCase
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, mappedJoinTableColumn, mappedName, mappedName, mappedName, mappedName, mappedName
-
Constructor Details
-
UnderScoreSeparatedUpperCase
public UnderScoreSeparatedUpperCase()
-
-
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
-