Uuid Scheme
data class UuidScheme(var version: Int = DEFAULT_VERSION, var minDateTime: Timestamp = DEFAULT_MIN_DATE_TIME, var maxDateTime: Timestamp = DEFAULT_MAX_DATE_TIME, var isUppercase: Boolean = DEFAULT_IS_UPPERCASE, var addDashes: Boolean = DEFAULT_ADD_DASHES, val affixDecorator: AffixDecorator = DEFAULT_AFFIX_DECORATOR, val arrayDecorator: ArrayDecorator = DEFAULT_ARRAY_DECORATOR) : Scheme(source)
Contains settings for generating random UUIDs.
Constructors
Link copied to clipboard
constructor(version: Int = DEFAULT_VERSION, minDateTime: Timestamp = DEFAULT_MIN_DATE_TIME, maxDateTime: Timestamp = DEFAULT_MAX_DATE_TIME, isUppercase: Boolean = DEFAULT_IS_UPPERCASE, addDashes: Boolean = DEFAULT_ADD_DASHES, affixDecorator: AffixDecorator = DEFAULT_AFFIX_DECORATOR, arrayDecorator: ArrayDecorator = DEFAULT_ARRAY_DECORATOR)
Properties
Link copied to clipboard
The affixation to apply to the generated values.
Link copied to clipboard
Settings that determine whether the output should be an array of values.
Link copied to clipboard
Additional logic that determines how strings are generated.
Link copied to clipboard
true
if and only if all letters are uppercase.
Link copied to clipboard
The maximum date-time to use, applicable only for time-based UUIDs.
Link copied to clipboard
The minimum date-time to use, applicable only for time-based UUIDs.
Link copied to clipboard
The icon signifying the type of data represented by this scheme, ignoring its decorators; or null
if this scheme does not represent any kind of data, as is the case for DecoratorSchemes.
Link copied to clipboard
Lists the Validators relevant to this State.
Functions
Link copied to clipboard
Returns a deep copy, retaining the uuid if and only if retainUuid is true
.
Link copied to clipboard
Returns count random UUIDs.