Class InstantiatorProvider
java.lang.Object
org.dalesbred.internal.instantiation.InstantiatorProvider
Provides
Instantiators for classes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> @NotNull Instantiator<T> findInstantiator(@NotNull Class<T> type, @NotNull NamedTypeList types) @NotNull Instantiator<?> findInstantiator(@NotNull Type type, @NotNull NamedTypeList types) @NotNull TypeConversiongetConversionFromDbValue(@NotNull Type source, @NotNull Type target) Returns conversion for converting value of source-type to target-type, or throws exception if there's no such conversion.@NotNull Dialect@NotNull TypeConversionRegistry@Nullable ObjectvalueToDatabase(@Nullable Object value)
-
Constructor Details
-
InstantiatorProvider
-
-
Method Details
-
valueToDatabase
-
findInstantiator
@NotNull public <T> @NotNull Instantiator<T> findInstantiator(@NotNull @NotNull Class<T> type, @NotNull @NotNull NamedTypeList types) -
findInstantiator
@NotNull public @NotNull Instantiator<?> findInstantiator(@NotNull @NotNull Type type, @NotNull @NotNull NamedTypeList types) -
getConversionFromDbValue
@NotNull public @NotNull TypeConversion getConversionFromDbValue(@NotNull @NotNull Type source, @NotNull @NotNull Type target) Returns conversion for converting value of source-type to target-type, or throws exception if there's no such conversion. -
getTypeConversionRegistry
-
getDialect
-