Uses of Interface
org.instancio.Model
Packages that use Model
Package
Description
Instancio public-facing APIs; for usage examples see
Instancio.Contains classes related to generators.
Defines generator specs.
-
Uses of Model in org.instancio
Methods in org.instancio that return ModelModifier and TypeMethodDescriptionInstancioApi.toModel()Creates a model containing all the information for populating a class.Methods in org.instancio with parameters of type ModelModifier and TypeMethodDescriptionstatic <T> TCreates an object populated using the given model.static <T> InstancioApi<T> Builder version ofInstancio.create(Model)that allows overriding of generation parameters of an existing model.static <T> CartesianProductApi<T> Instancio.ofCartesianProduct(Model<T> model) Generates the Cartesian product based on the values specified via thewith()method.static <T> InstancioOfCollectionApi<List<T>> Builder API for generating aListusing the specified model for list elements.static <T> InstancioOfCollectionApi<Set<T>> Builder API for generating aSetusing the specified model for list elements.static <T> Stream<T> Creates an infinite stream of objects populated using the given model. -
Uses of Model in org.instancio.generator
Methods in org.instancio.generator that return Model -
Uses of Model in org.instancio.generator.specs
Methods in org.instancio.generator.specs that return Model