data class UuidSettings : Settings<UuidSettings>
Contains settings for generating random UUIDs.
UuidSettings(version: Int = DEFAULT_VERSION, enclosure: String = DEFAULT_ENCLOSURE, capitalization: CapitalizationMode = DEFAULT_CAPITALIZATION, addDashes: Boolean = DEFAULT_ADD_DASHES)
Contains settings for generating random UUIDs. |
var addDashes: Boolean
True if and only if the UUID should have dashes in it. |
|
var capitalization: CapitalizationMode
The capitalization mode of the generated UUID. |
|
var enclosure: String
The string that encloses the generated UUID on both sides. |
|
var version: Int |
fun copyState(): UuidSettings
Returns a shallow copy of this instance. |
|
fun getState(): UuidSettings
Returns |
|
fun loadState(state: UuidSettings): Unit
Copies the fields of |
val default: UuidSettings
The persistent |
|
const val DEFAULT_ADD_DASHES: Boolean
The default value of the addDashes field. |
|
val DEFAULT_CAPITALIZATION: CapitalizationMode
The default value of the capitalization field. |
|
const val DEFAULT_ENCLOSURE: String
The default value of the enclosure field. |
|
const val DEFAULT_VERSION: Int
The default value of the version field. |