Class CamelCaseAbbreviatingFieldNamingStrategy
java.lang.Object
org.springframework.data.mapping.model.CamelCaseSplittingFieldNamingStrategy
org.springframework.data.mapping.model.CamelCaseAbbreviatingFieldNamingStrategy
- All Implemented Interfaces:
FieldNamingStrategy
FieldNamingStrategy
that abbreviates field names by using the very first letter of the camel case parts of
the PersistentProperty
's name.- Since:
- 1.9
- Author:
- Oliver Gierke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
preparePart
(String part) Callback to prepare the uncapitalized part obtained from the split up of the camel case source.Methods inherited from class org.springframework.data.mapping.model.CamelCaseSplittingFieldNamingStrategy
getFieldName
-
Constructor Details
-
CamelCaseAbbreviatingFieldNamingStrategy
public CamelCaseAbbreviatingFieldNamingStrategy()Creates a newCamelCaseAbbreviatingFieldNamingStrategy
.
-
-
Method Details
-
preparePart
Description copied from class:CamelCaseSplittingFieldNamingStrategy
Callback to prepare the uncapitalized part obtained from the split up of the camel case source. Default implementation returns the part as is.- Overrides:
preparePart
in classCamelCaseSplittingFieldNamingStrategy
- Returns:
-