Class NamingStrategies.KebabCase

java.lang.Object
io.micronaut.data.model.naming.NamingStrategies.KebabCase
All Implemented Interfaces:
NamingStrategy
Enclosing class:
NamingStrategies

public static class NamingStrategies.KebabCase extends Object implements NamingStrategy
Example: foo-bar.
  • Constructor Details

    • KebabCase

      public KebabCase()
  • 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