Package org.instancio.generator.specs
Interface UUIDStringSpec
- All Superinterfaces:
GeneratorSpec<String>
,UUIDStringGeneratorSpec
,ValueSpec<String>
- All Known Implementing Classes:
UUIDStringGenerator
Spec for generating string representations of
UUID
values.- Since:
- 2.6.0
-
Method Summary
Modifier and TypeMethodDescriptionnullable()
Specifies that anull
value can be generatedGenerate UUID String in uppercase characters.Generate UUID String without dashes.
-
Method Details
-
upperCase
UUIDStringSpec upperCase()Description copied from interface:UUIDStringGeneratorSpec
Generate UUID String in uppercase characters.- Specified by:
upperCase
in interfaceUUIDStringGeneratorSpec
- Returns:
- spec builder
-
withoutDashes
UUIDStringSpec withoutDashes()Description copied from interface:UUIDStringGeneratorSpec
Generate UUID String without dashes.- Specified by:
withoutDashes
in interfaceUUIDStringGeneratorSpec
- Returns:
- spec builder
-
nullable
UUIDStringSpec nullable()Description copied from interface:ValueSpec
Specifies that anull
value can be generated
-