@FunctionalInterface
@Introspected
public interface NamingStrategy
| Modifier and Type | Field and Description |
|---|---|
static NamingStrategy |
DEFAULT
Constant for the default under score separated lower case strategy.
|
| Modifier and Type | Method and Description |
|---|---|
default java.lang.String |
getForeignKeySuffix()
The default foreign key suffix for property names.
|
default java.lang.String |
mappedName(PersistentEntity entity)
Return the mapped name for the given entity.
|
default java.lang.String |
mappedName(PersistentProperty property)
Return the mapped name for the given property.
|
java.lang.String |
mappedName(java.lang.String name)
Return the mapped name for the given name.
|
static final NamingStrategy DEFAULT
@NonNull
java.lang.String mappedName(@NonNull
java.lang.String name)
name - The name@NonNull
default java.lang.String mappedName(@NonNull
PersistentEntity entity)
entity - The entity@NonNull
default java.lang.String mappedName(@NonNull
PersistentProperty property)
property - The property@NonNull default java.lang.String getForeignKeySuffix()