Custom Persistent Data Type
A custom persistent data type that allows for conversion between a primitive type and a complex type.
This interface extends the PersistentDataType interface and provides methods to convert between the primitive type and the complex type using an intermediate type.
The custom type is defined by the user and can be any type that is not a primitive type.
Author
Fantamomo
Since
1.0-SNAPSHOT
Parameters
P
The primitive type.
I
The intermediate type.
C
The custom type.
Inheritors
Properties
Functions
Link copied to clipboard
inline fun <P : Any, C : Any> PersistentDataType<P, C>.asNullable(): NullablePersistentDataType<P, C>
Link copied to clipboard
Converts a primitive data type to a complex data type.
Link copied to clipboard
Converts a complex data type to a primitive data type.
Link copied to clipboard
Returns the KClass of the complex data type.
Link copied to clipboard
Returns the KClass of the primitive data type.
Link copied to clipboard
Converts the custom type to the intermediate type.