Interface ObjectTypeFill

All Superinterfaces:
ObjectCollectionFillExtension
All Known Implementing Classes:
EnumFill

public interface ObjectTypeFill extends ObjectCollectionFillExtension
This interface provides methods for generating objects of a specific type. It extends the ObjectCollectionFillExtension interface to support object generation for collections.
  • Method Summary

    Modifier and Type
    Method
    Description
    generate(Class<?> fieldType, Fill fill)
    Generates an object of the specified field type with the given fill parameters.

    Methods inherited from interface ru.objectsfill.types.interfaces.ObjectCollectionFillExtension

    fillStream
  • Method Details

    • generate

      Object generate(Class<?> fieldType, Fill fill)
      Generates an object of the specified field type with the given fill parameters.
      Parameters:
      fieldType - the type of the field to generate an object for
      fill - the fill parameters for object generation
      Returns:
      the generated object