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.
  • Constructor Details

    • UnderScoreSeparatedLowerCase

      public UnderScoreSeparatedLowerCase()
  • Method Details

    • mappedName

      @NonNull public @NonNull String mappedName(@NonNull @NonNull String name)
      Description copied from interface: NamingStrategy
      Return the mapped name for the given name.
      Specified by:
      mappedName in interface NamingStrategy
      Parameters:
      name - The name
      Returns:
      The mapped name