public static enum SolrPersistentProperty.PropertyToFieldNameConverter extends Enum<SolrPersistentProperty.PropertyToFieldNameConverter> implements Converter<SolrPersistentProperty,String>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
String |
convert(SolrPersistentProperty source) |
static SolrPersistentProperty.PropertyToFieldNameConverter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SolrPersistentProperty.PropertyToFieldNameConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SolrPersistentProperty.PropertyToFieldNameConverter INSTANCE
public static SolrPersistentProperty.PropertyToFieldNameConverter[] values()
for (SolrPersistentProperty.PropertyToFieldNameConverter c : SolrPersistentProperty.PropertyToFieldNameConverter.values()) System.out.println(c);
public static SolrPersistentProperty.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(SolrPersistentProperty source)
convert in interface Converter<SolrPersistentProperty,String>Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.