Package org.instancio.generator.specs
Interface UUIDStringSpec
- All Superinterfaces:
GeneratorSpec<String>,NullableGeneratorSpec<String>,UUIDStringGeneratorSpec,ValueSpec<String>
Spec for generating string representations of
UUID values.- Since:
- 2.6.0
-
Method Summary
Modifier and TypeMethodDescriptionnullable()Specifies that anullvalue can be generatedGenerate UUID String in uppercase characters.Generate UUID String without dashes.
-
Method Details
-
upperCase
UUIDStringSpec upperCase()Description copied from interface:UUIDStringGeneratorSpecGenerate UUID String in uppercase characters.- Specified by:
upperCasein interfaceUUIDStringGeneratorSpec- Returns:
- spec builder
-
withoutDashes
UUIDStringSpec withoutDashes()Description copied from interface:UUIDStringGeneratorSpecGenerate UUID String without dashes.- Specified by:
withoutDashesin interfaceUUIDStringGeneratorSpec- Returns:
- spec builder
-
nullable
UUIDStringSpec nullable()Description copied from interface:ValueSpecSpecifies that anullvalue can be generated- Specified by:
nullablein interfaceNullableGeneratorSpec<String>- Specified by:
nullablein interfaceUUIDStringGeneratorSpec- Specified by:
nullablein interfaceValueSpec<String>- Returns:
- spec builder reference
-