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
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleangetRegistrationsFor(Object converter) ReturnsCustomConversions.ConverterRegistrations for the given converter.inthashCode()of(SimpleTypeHolder storeTypeHolder, Object... converters) Creates a newCustomConversions.StoreConversionsfor the given store-specificSimpleTypeHolderand the given converters.of(SimpleTypeHolder storeTypeHolder, Collection<?> converters) Creates a newCustomConversions.StoreConversionsfor the given store-specificSimpleTypeHolderand the given converters.toString()
-
Field Details
-
NONE
-
-
Method Details
-
of
public static CustomConversions.StoreConversions of(SimpleTypeHolder storeTypeHolder, Object... converters) Creates a newCustomConversions.StoreConversionsfor the given store-specificSimpleTypeHolderand 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.StoreConversionsfor the given store-specificSimpleTypeHolderand 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.ConverterRegistrations for the given converter.- Parameters:
converter- must not be null.- Returns:
-
equals
-
hashCode
public int hashCode() -
toString
-