Persistent Data Type
Represents a data type that facilitates conversions between a primitive data type and a complex data type.
This interface is designed to provide a flexible mechanism for mapping and transformation between two types, where one is a low-level primitive representation and the other is a higher-level complex type.
The primitive type must adhere to the PrimitiveTypeMarker contract, while the complex type follows the CustomTypeMarker contract. Specific implementations of this interface define the logic for performing the conversions and declaring the associated types.
Author
Fantamomo
Since
1.0-SNAPSHOT
Parameters
the primitive data type, which must implement PrimitiveTypeMarker
the complex data type, which must implement CustomTypeMarker
Inheritors
Functions
Converts a primitive data type to a complex data type.
Converts a complex data type to a primitive data type.
Returns the KClass of the complex data type.
Returns the KClass of the primitive data type.