public class CamelCaseAbbreviatingFieldNamingStrategy extends Object implements FieldNamingStrategy
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() |
Modifier and Type | Method and Description |
---|---|
String |
getFieldName(MongoPersistentProperty property)
Returns the field name to be used for the given
MongoPersistentProperty . |
public CamelCaseAbbreviatingFieldNamingStrategy()
public String getFieldName(MongoPersistentProperty property)
FieldNamingStrategy
MongoPersistentProperty
.getFieldName
in interface FieldNamingStrategy
property
- must not be null or empty;Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.