public class CamelCaseAbbreviatingFieldNamingStrategy extends CamelCaseSplittingFieldNamingStrategy
FieldNamingStrategy
that abbreviates field names by using the very first letter of the camel case parts of
the MongoPersistentProperty
's name.Constructor and Description |
---|
CamelCaseAbbreviatingFieldNamingStrategy()
Creates a new
CamelCaseAbbreviatingFieldNamingStrategy . |
Modifier and Type | Method and Description |
---|---|
protected String |
preparePart(String part)
Callback to prepare the uncapitalized part obtained from the split up of the camel case source.
|
getFieldName
public CamelCaseAbbreviatingFieldNamingStrategy()
CamelCaseAbbreviatingFieldNamingStrategy
.protected String preparePart(String part)
CamelCaseSplittingFieldNamingStrategy
preparePart
in class CamelCaseSplittingFieldNamingStrategy
Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.