Package org.springframework.data.convert
Class CustomConversions.StoreConversions
java.lang.Object
org.springframework.data.convert.CustomConversions.StoreConversions
- Enclosing class:
- CustomConversions
Value type to capture store-specific extensions to the
CustomConversions
. Allows to forward store specific
default conversions and a set of types that are supposed to be considered simple.- Author:
- Oliver Gierke
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Streamable<org.springframework.data.convert.CustomConversions.ConverterRegistration>
getRegistrationsFor
(Object converter) ReturnsCustomConversions.ConverterRegistration
s for the given converter.int
hashCode()
of
(SimpleTypeHolder storeTypeHolder, Object... converters) Creates a newCustomConversions.StoreConversions
for the given store-specificSimpleTypeHolder
and the given converters.of
(SimpleTypeHolder storeTypeHolder, Collection<?> converters) Creates a newCustomConversions.StoreConversions
for the given store-specificSimpleTypeHolder
and the given converters.toString()
-
Field Details
-
NONE
-
-
Method Details
-
of
public static CustomConversions.StoreConversions of(SimpleTypeHolder storeTypeHolder, Object... converters) Creates a newCustomConversions.StoreConversions
for the given store-specificSimpleTypeHolder
and the given converters.- Parameters:
storeTypeHolder
- must not be null.converters
- must not be null.- Returns:
-
of
public static CustomConversions.StoreConversions of(SimpleTypeHolder storeTypeHolder, Collection<?> converters) Creates a newCustomConversions.StoreConversions
for the given store-specificSimpleTypeHolder
and the given converters.- Parameters:
storeTypeHolder
- must not be null.converters
- must not be null.- Returns:
-
getRegistrationsFor
public Streamable<org.springframework.data.convert.CustomConversions.ConverterRegistration> getRegistrationsFor(Object converter) ReturnsCustomConversions.ConverterRegistration
s for the given converter.- Parameters:
converter
- must not be null.- Returns:
-
equals
-
hashCode
public int hashCode() -
toString
-