BeanBuilder@Deprecated public class BeanBuilder<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
BeanBuilder<T> |
aCollectionSizeOf(int size)
Deprecated.
Use
BeanBuilder |
BeanBuilder<T> |
aCollectionSizeRangeOf(int min,
int max)
Deprecated.
Use
BeanBuilder |
static <T> BeanBuilder<T> |
anEmptyInstanceOf(Class<T> type)
Deprecated.
Use
BeanBuilder |
static <T> BeanBuilder<T> |
anEmptyInstanceOf(Class<T> type,
String rootName)
Deprecated.
Use
BeanBuilder |
static <T> BeanBuilder<T> |
anInstanceOf(Class<T> type)
Deprecated.
Use
BeanBuilder |
static <T> BeanBuilder<T> |
anInstanceOf(Class<T> type,
String rootName)
Deprecated.
Use
BeanBuilder |
static <T> BeanBuilder<T> |
aRandomInstanceOf(Class<T> type)
Deprecated.
Use
BeanBuilder |
static <T> BeanBuilder<T> |
aRandomInstanceOf(Class<T> type,
String rootName)
Deprecated.
Use
BeanBuilder |
T |
build()
Deprecated.
Use
BeanBuilder |
BeanBuilder<T> |
excludePath(String path)
Deprecated.
Use
BeanBuilder |
BeanBuilder<T> |
excludeProperty(String propertyName)
Deprecated.
Use
BeanBuilder |
<X> BeanBuilder<T> |
usingType(Class<X> klass,
Class<? extends X>... subtypes)
Deprecated.
Use
BeanBuilder |
<X> BeanBuilder<T> |
usingType(Class<X> klass,
Class<? extends X> subtypes)
Deprecated.
Use
BeanBuilder |
<V> BeanBuilder<T> |
with(Class<V> type,
InstanceFactory<V> factory)
Deprecated.
Use
BeanBuilder |
BeanBuilder<T> |
with(String propertyOrPathName,
InstanceFactory<?> factory)
Deprecated.
Use
BeanBuilder |
BeanBuilder<T> |
with(String propertyOrPathName,
Object value)
Deprecated.
Use
BeanBuilder |
BeanBuilder<T> |
withPath(String path,
InstanceFactory<?> factory)
Deprecated.
Use
BeanBuilder |
BeanBuilder<T> |
withPath(String path,
Object value)
Deprecated.
Use
BeanBuilder |
BeanBuilder<T> |
withPathValue(String path,
Object value)
Deprecated.
Use
BeanBuilder |
BeanBuilder<T> |
withProperty(String propertyName,
InstanceFactory<?> factory)
Deprecated.
Use
BeanBuilder |
BeanBuilder<T> |
withProperty(String propertyName,
Object value)
Deprecated.
Use
BeanBuilder |
BeanBuilder<T> |
withPropertyValue(String propertyName,
Object value)
Deprecated.
Use
BeanBuilder |
@Deprecated public static <T> BeanBuilder<T> anInstanceOf(Class<T> type)
BeanBuilderBeanBuilder for the given type which can then be populated with values either manually or automatically. For example:
BeanBuilder.anInstanceOf(Person.class).build();
type - the type to return the BeanBuilder for@Deprecated public static <T> BeanBuilder<T> anInstanceOf(Class<T> type, String rootName)
BeanBuilderBeanBuilder for the given type which can then be populated with values either manually or automatically. For example:
BeanBuilder.anInstanceOf(Person.class, "person").build();
type - the type to return the BeanBuilder forrootName - the name give to the root entity when referencing paths@Deprecated public static <T> BeanBuilder<T> anEmptyInstanceOf(Class<T> type)
BeanBuilderBeanBuilder for the given type which is populated with empty objects but collections, maps, etc which have empty objects. For example:
BeanBuilder.anEmptyInstanceOf(Person.class).build();
type - the type to return the BeanBuilder for@Deprecated public static <T> BeanBuilder<T> anEmptyInstanceOf(Class<T> type, String rootName)
BeanBuilderBeanBuilder for the given type which is populated with empty objects but collections, maps, etc which have empty objects. For example:
BeanBuilder.anEmptyInstanceOf(Person.class).build();
type - the type to return the BeanBuilder forrootName - the name give to the root entity when referencing paths@Deprecated public static <T> BeanBuilder<T> aRandomInstanceOf(Class<T> type)
BeanBuilderBeanBuilder for the given type which is populated with random values. For example:
BeanBuilder.aRandomInstanceOf(Person.class).build();
type - the type to return the BeanBuilder for@Deprecated public static <T> BeanBuilder<T> aRandomInstanceOf(Class<T> type, String rootName)
BeanBuilderBeanBuilder for the given type which is populated with random values. For example:
BeanBuilder.aRandomInstanceOf(Person.class).build();
type - the type to return the BeanBuilder for@Deprecated public BeanBuilder<T> with(String propertyOrPathName, Object value)
BeanBuilder@Deprecated public <V> BeanBuilder<T> with(Class<V> type, InstanceFactory<V> factory)
BeanBuilder@Deprecated public BeanBuilder<T> with(String propertyOrPathName, InstanceFactory<?> factory)
BeanBuilder@Deprecated public BeanBuilder<T> withPropertyValue(String propertyName, Object value)
BeanBuilder@Deprecated public BeanBuilder<T> withProperty(String propertyName, Object value)
BeanBuilder@Deprecated public BeanBuilder<T> withProperty(String propertyName, InstanceFactory<?> factory)
BeanBuilder@Deprecated public BeanBuilder<T> excludeProperty(String propertyName)
BeanBuilder@Deprecated public BeanBuilder<T> withPathValue(String path, Object value)
BeanBuilder@Deprecated public BeanBuilder<T> withPath(String path, Object value)
BeanBuilder@Deprecated public BeanBuilder<T> withPath(String path, InstanceFactory<?> factory)
BeanBuilder@Deprecated public BeanBuilder<T> excludePath(String path)
BeanBuilder@Deprecated public BeanBuilder<T> aCollectionSizeOf(int size)
BeanBuilder@Deprecated public BeanBuilder<T> aCollectionSizeRangeOf(int min, int max)
BeanBuilder@Deprecated public <X> BeanBuilder<T> usingType(Class<X> klass, Class<? extends X> subtypes)
BeanBuilder@Deprecated public <X> BeanBuilder<T> usingType(Class<X> klass, Class<? extends X>... subtypes)
BeanBuilder@Deprecated public T build()
BeanBuilderCopyright © 2014. All Rights Reserved.