Class TokenIdentityGenerator

java.lang.Object
dev.orne.test.rnd.AbstractGenerator
dev.orne.test.rnd.AbstractTypedGenerator<TokenIdentity>
dev.orne.beans.rnd.TokenIdentityGenerator
All Implemented Interfaces:
dev.orne.test.rnd.Generator, dev.orne.test.rnd.TypedGenerator<TokenIdentity>

@API(status=INTERNAL, since="0.6") public class TokenIdentityGenerator extends dev.orne.test.rnd.AbstractTypedGenerator<TokenIdentity>
Generator of Identity and TokenIdentity values.
Since:
0.6
Version:
1.0, 2023-12
Author:
(w) Iker Hernaez
  • Field Summary

    Fields inherited from class dev.orne.test.rnd.AbstractGenerator

    DEFAULT_NULL_PROBABILITY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull TokenIdentity
    @NotNull TokenIdentity
    boolean
    supports(@NotNull Class<?> type)

    Methods inherited from class dev.orne.test.rnd.AbstractTypedGenerator

    defaultValue, equals, getValueType, hashCode, nullableDefaultValue, nullableRandomValue, randomValue

    Methods inherited from class dev.orne.test.rnd.AbstractGenerator

    assertSupported, getNullProbability, nullableDefaultValue, nullableRandomValue, randomNull, setNullProbability, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface dev.orne.test.rnd.Generator

    asParameterizable, getPriority, nullableDefaultValue, nullableRandomValue
  • Constructor Details

    • TokenIdentityGenerator

      public TokenIdentityGenerator()
      Creates a new instance.
  • Method Details

    • supports

      public boolean supports(@NotNull @NotNull Class<?> type)
      Specified by:
      supports in interface dev.orne.test.rnd.Generator
      Overrides:
      supports in class dev.orne.test.rnd.AbstractTypedGenerator<TokenIdentity>
    • defaultValue

      @NotNull public @NotNull TokenIdentity defaultValue()
    • randomValue

      @NotNull public @NotNull TokenIdentity randomValue()