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.
Contains internal classes implementing the core functionality of Instancio.
-
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> T
Creates 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> InstancioOfCollectionApi<List<T>>
Builder API for generating aList
using the specified model for list elements.static <T> InstancioOfCollectionApi<Set<T>>
Builder API for generating aSet
using 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.internal
Methods in org.instancio.internal that return ModelMethods in org.instancio.internal with parameters of type ModelModifier and TypeMethodDescriptionstatic <T,
C extends Collection<T>>
OfCollectionApiImpl<T,C> OfCollectionApiImpl.fromElementModel
(Class<C> collectionType, Model<T> elementModel) Constructors in org.instancio.internal with parameters of type Model