Uses of Interface
org.instancio.Model
Packages that use Model
-
Uses of Model in org.instancio
Methods in org.instancio that return ModelModifier and TypeMethodDescriptionInstancioApi.toModel()Creates a model containing generation parameters for creating an object A model acts as a template for creating objects or other models.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> InstancioCartesianProductApi<T> Instancio.ofCartesianProduct(Model<T> model) Generates the Cartesian product based on the values specified via thewith()method.static <T> InstancioCollectionsApi<List<T>> Builder API for generating aListusing the specified model for list elements.static <T> InstancioCollectionsApi<Set<T>> Builder API for generating aSetusing the specified model for list elements.BaseApi.setModel(TargetSelector selector, Model<V> model) Applies givenmodelto the specifiedselector.<V> InstancioApi<T> InstancioApi.setModel(TargetSelector selector, Model<V> model) Applies givenmodelto the specifiedselector.InstancioCartesianProductApi.setModel(TargetSelector selector, Model<V> model) Applies givenmodelto the specifiedselector.static <T> Stream<T> Creates an infinite stream of objects populated using the given model.