custom Persistent Type Builder
fun <P : Any, I : Any, C : Any> customPersistentTypeBuilder(action: CustomPersistentDataType.CustomPersistentDataTypeBuilder<P, I, C>.() -> Unit): CustomPersistentDataType<P, I, C>(source)
A factory for creating CustomPersistentDataType instances.
This factory allows you to create a custom persistent data type by providing a builder DSL. The builder DSL allows you to specify the conversion functions for converting between primitive and complex types, as well as the primitive and complex type classes.
Return
A new instance of CustomPersistentDataType with the specified conversion functions
Author
Fantamomo
Since
1.0-SNAPSHOT
Parameters
P
The primitive type.
I
The complex type.
C
The complex type class.
action
The builder DSL for creating the custom persistent data type.