data class UuidScheme : Scheme<UuidScheme>
Contains settings for generating random UUIDs.
UuidScheme(myName: String = DEFAULT_NAME, 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 myName: String
The name of the scheme. |
|
var version: Int
The version of UUIDs to generate. |
fun copyAs(name: String): UuidScheme
Returns a copy of this scheme that has the given name. |
|
fun copyFrom(other: UuidScheme): Unit
Shallowly copies the state of other into |
open fun getName(): String
Same as myName. |
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. |