public abstract class NamingStrategies extends Object
RenderNamingStrategy objects.| Modifier and Type | Method and Description |
|---|---|
static RenderNamingStrategy |
asIs()
Creates a as-is
RenderNamingStrategy that preserves Column and Table names as they were
expressed during their declaration. |
static RenderNamingStrategy |
mapWith(Function<String,String> mappingFunction)
|
static RenderNamingStrategy |
toLower()
Creates a mapping
RenderNamingStrategy that converts Column and Table names to lower case
using the default Locale. |
static RenderNamingStrategy |
toLower(Locale locale)
Creates a mapping
RenderNamingStrategy that converts Column and Table names to lower case
using the given Locale. |
static RenderNamingStrategy |
toUpper()
Creates a mapping
RenderNamingStrategy that converts Column and Table names to upper case
using the default Locale. |
static RenderNamingStrategy |
toUpper(Locale locale)
Creates a mapping
RenderNamingStrategy that converts Column and Table names to upper case
using the given Locale. |
public static RenderNamingStrategy asIs()
RenderNamingStrategy that preserves Column and Table names as they were
expressed during their declaration.RenderNamingStrategy.public static RenderNamingStrategy mapWith(Function<String,String> mappingFunction)
mappingFunction - the mapping Function, must not be null.RenderNamingStrategy.public static RenderNamingStrategy toUpper()
RenderNamingStrategy that converts Column and Table names to upper case
using the default Locale.RenderNamingStrategy.String.toUpperCase(),
Localepublic static RenderNamingStrategy toUpper(Locale locale)
RenderNamingStrategy that converts Column and Table names to upper case
using the given Locale.locale - the locale to use.RenderNamingStrategy.String.toUpperCase(Locale)public static RenderNamingStrategy toLower()
RenderNamingStrategy that converts Column and Table names to lower case
using the default Locale.RenderNamingStrategy.String.toLowerCase(),
Localepublic static RenderNamingStrategy toLower(Locale locale)
RenderNamingStrategy that converts Column and Table names to lower case
using the given Locale.locale - the locale to use.RenderNamingStrategy.String.toLowerCase(Locale),
LocaleCopyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.