public static class CustomConversions.StoreConversions extends Object
CustomConversions
. Allows to forward store specific
default conversions and a set of types that are supposed to be considered simple.Modifier and Type | Field and Description |
---|---|
static CustomConversions.StoreConversions |
NONE |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Streamable<org.springframework.data.convert.CustomConversions.ConverterRegistration> |
getRegistrationsFor(Object converter)
Returns
ConverterRegistration s for the given converter. |
int |
hashCode() |
static CustomConversions.StoreConversions |
of(SimpleTypeHolder storeTypeHolder,
Collection<?> converters)
Creates a new
CustomConversions.StoreConversions for the given store-specific SimpleTypeHolder and the given
converters. |
static CustomConversions.StoreConversions |
of(SimpleTypeHolder storeTypeHolder,
Object... converters)
Creates a new
CustomConversions.StoreConversions for the given store-specific SimpleTypeHolder and the given
converters. |
String |
toString() |
public static final CustomConversions.StoreConversions NONE
public static CustomConversions.StoreConversions of(SimpleTypeHolder storeTypeHolder, Object... converters)
CustomConversions.StoreConversions
for the given store-specific SimpleTypeHolder
and the given
converters.storeTypeHolder
- must not be null.converters
- must not be null.public static CustomConversions.StoreConversions of(SimpleTypeHolder storeTypeHolder, Collection<?> converters)
CustomConversions.StoreConversions
for the given store-specific SimpleTypeHolder
and the given
converters.storeTypeHolder
- must not be null.converters
- must not be null.public Streamable<org.springframework.data.convert.CustomConversions.ConverterRegistration> getRegistrationsFor(Object converter)
ConverterRegistration
s for the given converter.converter
- must not be null.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.