public static enum MongoPersistentProperty.PropertyToFieldNameConverter extends Enum<MongoPersistentProperty.PropertyToFieldNameConverter> implements Converter<MongoPersistentProperty,String>
Converter implementation to transform a MongoPersistentProperty into its field name.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
String |
convert(MongoPersistentProperty source) |
static MongoPersistentProperty.PropertyToFieldNameConverter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MongoPersistentProperty.PropertyToFieldNameConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MongoPersistentProperty.PropertyToFieldNameConverter INSTANCE
public static MongoPersistentProperty.PropertyToFieldNameConverter[] values()
for (MongoPersistentProperty.PropertyToFieldNameConverter c : MongoPersistentProperty.PropertyToFieldNameConverter.values()) System.out.println(c);
public static MongoPersistentProperty.PropertyToFieldNameConverter valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String convert(MongoPersistentProperty source)
convert in interface Converter<MongoPersistentProperty,String>Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.