Class NamingStrategies.KebabCase
java.lang.Object
io.micronaut.data.model.naming.NamingStrategies.KebabCase
- All Implemented Interfaces:
NamingStrategy
- Enclosing class:
NamingStrategies
Example: foo-bar.
- Since:
- 1.0
- Author:
- graemerocher
-
Field Summary
Fields inherited from interface NamingStrategy
DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmappedName(String name) Return the mapped name for the given name.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NamingStrategy
getForeignKeySuffix, mappedAssociatedName, mappedJoinTableColumn, mappedName, mappedName, mappedName, mappedName, mappedName
-
Constructor Details
-
KebabCase
public KebabCase()
-
-
Method Details
-
mappedName
Description copied from interface:NamingStrategyReturn the mapped name for the given name.- Specified by:
mappedNamein interfaceNamingStrategy- Parameters:
name- The name- Returns:
- The mapped name
-