| Package | Description |
|---|---|
| org.bbottema.loremipsumobjects | |
| org.bbottema.loremipsumobjects.typefactories |
| Modifier and Type | Method and Description |
|---|---|
<T> @Nullable LoremIpsumObjectFactory<T> |
ClassBindings.find(Class<T> _class)
This method returns a binding made for the given class.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
ClassBindings.bind(Class<T> clazz,
LoremIpsumObjectFactory<? extends T> factory)
Binds a
LoremIpsumObjectFactory to a specific Class instance. |
| Modifier and Type | Class and Description |
|---|---|
class |
ClassBasedFactory<T>
Creates a populated dummy object of a given class
T. |
class |
ConstructorBasedFactory<T> |
class |
FixedInstanceFactory<T> |
class |
MethodBasedFactory<T> |
class |
RandomArrayFactory<T> |
class |
RandomBigDecimalFactory
Generates big decimal's while making sure scale is not set too high.
|
class |
RandomBooleanFactory
This factory prevents the default
ClassBasedFactory approach for creating a Boolean, because that will invoke
Boolean.Boolean(String) with a randomly generated String, which will always result in a value of false. |
class |
RandomEnumFactory<T extends Enum<?>> |
class |
RandomFactoryFactory<T> |
class |
RandomLocalDateFactory |
class |
RandomLocalDateTimeFactory |
class |
RandomOptionalFactory |
class |
RandomPrimitiveFactory<T>
Generates a dummy of a primitive type which is returned in its wrapped (autoboxed) form.
|
class |
RandomStringFactory |
class |
RandomUuidFactory |
| Constructor and Description |
|---|
RandomFactoryFactory(@NotNull Class<Number> clazz,
LoremIpsumObjectFactory<?>... factories) |
Copyright © 2019–2020. All rights reserved.