IdGenerator

interface IdGenerator

A generator of Ids.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val idClass: KClass<out Id<*>>

The class of the id.

Link copied to clipboard
abstract val wrappedIdClass: KClass<out Any>

The class of the wrapped id.

Functions

Link copied to clipboard
open fun create(s: String): Id<*>

Create a new id from its String representation.

Link copied to clipboard
abstract fun <T> generateNewId(): Id<T>

Generate a new id.