UuidSettings

data class UuidSettings(var schemes: MutableList<UuidScheme> = DEFAULT_SCHEMES, var currentSchemeName: String = DEFAULT_CURRENT_SCHEME_NAME) : Settings<UuidSettings, UuidScheme> (source)

The user-configurable collection of schemes applicable to generating UUIDs.

See also

Constructors

Link copied to clipboard
constructor(schemes: MutableList<UuidScheme> = DEFAULT_SCHEMES, currentSchemeName: String = DEFAULT_CURRENT_SCHEME_NAME)

Types

Link copied to clipboard
object Companion

Holds constants.

Properties

Link copied to clipboard

The instance of the scheme that is currently active.

Link copied to clipboard
open override var currentSchemeName: String

the scheme that is currently active

Link copied to clipboard
open override var schemes: MutableList<UuidScheme>

the schemes that the user can choose from

Functions

Link copied to clipboard
open override fun deepCopy(): UuidSettings

Returns a deep copy of the settings and the contained schemes.

Link copied to clipboard
open override fun getState(): UuidSettings

Returns this.

Link copied to clipboard
Link copied to clipboard
open override fun loadState(state: UuidSettings)

Copies the fields of state to this.

Link copied to clipboard
open fun noStateLoaded()