Class BaseIdentityBeanGenerator

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

@API(status=INTERNAL, since="0.6") public class BaseIdentityBeanGenerator extends dev.orne.test.rnd.AbstractTypedGenerator<BaseIdentityBean>
Generator of IdentityBean, WritableIdentityBean and BaseIdentityBean 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
    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

    • BaseIdentityBeanGenerator

      public BaseIdentityBeanGenerator()
      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<BaseIdentityBean>
    • defaultValue

      @NotNull public @NotNull BaseIdentityBean defaultValue()
    • randomValue

      @NotNull public @NotNull BaseIdentityBean randomValue()