Interface UUIDSpec

All Superinterfaces:
GeneratorSpec<UUID>, ValueSpec<UUID>

public interface UUIDSpec extends ValueSpec<UUID>
Spec for generating UUID values.
Since:
3.2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Specifies that a null value can be generated

    Methods inherited from interface org.instancio.generator.ValueSpec

    get, list, map, stream, toModel
  • Method Details

    • nullable

      UUIDSpec nullable()
      Description copied from interface: ValueSpec
      Specifies that a null value can be generated
      Specified by:
      nullable in interface ValueSpec<UUID>
      Returns:
      spec builder reference