| Package | Description |
|---|---|
| org.meanbean.bean.util | |
| org.meanbean.factories | |
| org.meanbean.factories.basic | |
| org.meanbean.factories.beans | |
| org.meanbean.factories.net | |
| org.meanbean.factories.util | |
| org.meanbean.test |
| Modifier and Type | Class and Description |
|---|---|
class |
BeanPropertyValuesFactory
Concrete Factory that creates a
Map of values, keyed by property name, that could be used to populate
the properties of a Bean, based on information about the Bean provided in the form of a BeanInformation
instance. |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicNewObjectInstanceFactory
Concrete Factory that creates instances of the type of object specified during construction of the Factory.
|
| Modifier and Type | Method and Description |
|---|---|
static Factory<Object> |
BasicNewObjectInstanceFactory.findBeanFactory(Class<?> clazz) |
<T> Factory<T> |
OptionalFactoryLookup.getFactory(Type typeToken) |
<T> Factory<T> |
FactoryLookup.getFactory(Type type)
Get the Factory registered for the specified class.
|
<T> Factory<T> |
FactoryCollectionRepository.getFactory(Type type) |
<T> Factory<T> |
CollectionFactoryLookup.getFactory(Type typeToken) |
<T> Factory<T> |
ArrayFactoryLookup.getFactory(Type typeToken) |
<T> Factory<T> |
FactoryRepository.getFactory(Type type)
Get the Factory registered for the specified class.
|
default <T> Factory<T> |
FactoryLookup.getFactoryIfAvailable(Type type,
Supplier<Factory<T>> fallback) |
| Modifier and Type | Method and Description |
|---|---|
void |
FactoryCollectionRepository.addFactory(Class<?> clazz,
Factory<?> factory) |
void |
FactoryCollection.addFactory(Class<?> clazz,
Factory<?> factory)
Add the specified Factory to the collection.
|
void |
FactoryRepository.addFactory(Class<?> clazz,
Factory<?> factory)
Add the specified Factory to the collection.
|
| Modifier and Type | Method and Description |
|---|---|
default <T> Factory<T> |
FactoryLookup.getFactoryIfAvailable(Type type,
Supplier<Factory<T>> fallback) |
| Modifier and Type | Class and Description |
|---|---|
class |
BigDecimalFactory
Concrete Factory that creates random BigDecimal objects.
|
class |
BigIntegerFactory |
class |
BooleanFactory
Concrete Factory that creates random Boolean objects.
|
class |
ByteFactory
Concrete Factory that creates random Byte objects.
|
class |
CharacterFactory
Concrete Factory that creates random Character objects.
|
class |
DateFactory
Concrete Factory that creates random Date objects.
|
class |
DoubleFactory
Concrete Factory that creates random Double objects.
|
class |
EnumFactory
Concrete Factory that creates random Enum constants of the specified Enum type.
|
class |
FloatFactory
Concrete Factory that creates random Float objects.
|
class |
IntegerFactory
Concrete Factory that creates random Integer objects.
|
class |
LongFactory
Concrete Factory that creates random Long objects.
|
class |
RandomFactoryBase<T>
Abstract base class for a Factory that creates random objects of the specified type.
|
class |
ShortFactory
Concrete Factory that creates random Short objects.
|
class |
StringFactory
Concrete Factory that creates random String objects.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Factory<T> |
EnumFactoryLookup.getFactory(Type type) |
| Modifier and Type | Class and Description |
|---|---|
class |
PopulatedBeanFactory
Factory that creates object instances based on provided BeanInformation, assigning each instance different values.
|
| Modifier and Type | Class and Description |
|---|---|
class |
UrlFactory |
| Modifier and Type | Class and Description |
|---|---|
class |
LocaleFactory |
| Modifier and Type | Method and Description |
|---|---|
Factory<?> |
FactoryLookupStrategy.getFactory(BeanInformation beanInformation,
PropertyInformation propertyInformation,
Configuration configuration)
Get a factory for the specified property that is of the specified type.
|
Factory<?> |
BasicFactoryLookupStrategy.getFactory(BeanInformation beanInformation,
PropertyInformation propertyInformation,
Configuration configuration)
Get a factory for the specified property that is of the specified type.
|
| Modifier and Type | Method and Description |
|---|---|
Factory<? extends Object> |
Configuration.getOverrideFactory(String property)
Get the override Factory for the specified property, if one has been registered in this Configuration.
|
| Modifier and Type | Method and Description |
|---|---|
<T> BeanTesterBuilder |
BeanTesterBuilder.addOverrideFactory(Class<T> beanClass,
String property,
Factory<T> factory)
Register the specified Factory as an override Factory for the specified property.
|
<T> VerifierSettingsEditor |
VerifierSettingsEditor.addOverrideFactory(String property,
Factory<T> factory)
Register the specified Factory as an override Factory for the specified property.
|
<T> VerifierSettings |
VerifierSettings.addOverrideFactory(String property,
Factory<T> factory)
Register the specified Factory as an override Factory for the specified property.
|
<T,S> BeanTesterBuilder |
BeanTesterBuilder.addOverridePropertyFactory(Class<T> beanClass,
com.github.meanbeanlib.mirror.SerializableLambdas.SerializableFunction1<T,S> beanGetter,
Factory<S> factory)
Register the specified Factory as an override Factory for the specified property.
|
<T,S> VerifierSettingsEditor |
VerifierSettingsEditor.addOverridePropertyFactory(com.github.meanbeanlib.mirror.SerializableLambdas.SerializableFunction1<T,S> beanGetter,
Factory<S> factory)
Register the specified Factory as an override Factory for the specified property.
|
<T,S> VerifierSettings |
VerifierSettings.addOverridePropertyFactory(com.github.meanbeanlib.mirror.SerializableLambdas.SerializableFunction1<T,S> beanGetter,
Factory<S> factory)
Register the specified Factory as an override Factory for the specified property.
|
ConfigurationBuilder |
ConfigurationBuilder.overrideFactory(String property,
Factory<?> factory)
Register the specified Factory as an override Factory for the specified property.
|
<T> VerifierSettingsEditor |
VerifierSettingsEditor.registerFactory(Class<T> clazz,
Factory<? extends T> factory) |
<T> VerifierSettings |
VerifierSettings.registerFactory(Class<T> clazz,
Factory<? extends T> factory)
Register a custom factory for given class
|
<T> BeanTesterBuilder |
BeanTesterBuilder.registerFactory(Class<T> clazz,
Factory<? extends T> factory)
Register a custom factory for given class
|
<T> VerifierSettingsEditor |
VerifierSettingsEditor.registerTypeHierarchyFactory(Class<T> baseType,
Factory<T> factory)
Register factory for an inheritance type hierarchy
|
<T> VerifierSettings |
VerifierSettings.registerTypeHierarchyFactory(Class<T> baseType,
Factory<T> factory)
Register factory for an inheritance type hierarchy
|
<T> BeanTesterBuilder |
BeanTesterBuilder.registerTypeHierarchyFactory(Class<T> baseType,
Factory<T> factory)
Register factory for an inheritance type hierarchy
|
Copyright © 2010–2020 meanbean. All rights reserved.