| Package | Description |
|---|---|
| uk.co.jemos.podam.api |
This package contains PODAM main APIs
|
| uk.co.jemos.podam.typeManufacturers |
Contains Type Manufacturers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DataProviderStrategy.cacheMemoizedObject(AttributeMetadata attributeMetadata,
Object instance)
Saves object in memoization cache
|
void |
AbstractRandomDataProviderStrategy.cacheMemoizedObject(AttributeMetadata attributeMetadata,
Object instance)
Saves object in memoization cache
|
Object |
DataProviderStrategy.getMemoizedObject(AttributeMetadata attributeMetadata)
Obtains object from memoization cache
|
Object |
AbstractRandomDataProviderStrategy.getMemoizedObject(AttributeMetadata attributeMetadata)
Obtains object from memoization cache
|
<T> T |
DataProviderStrategy.getTypeValue(AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap,
Class<T> pojoType)
Obtains a type value
|
<T> T |
AbstractRandomDataProviderStrategy.getTypeValue(AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap,
Class<T> pojoType)
Obtains a type value
|
private <T> T |
PodamFactoryImpl.getValueForAbstractType(Class<T> pojoClass,
AttributeMetadata pojoMetadata,
ManufacturingContext manufacturingCtx,
Map<String,Type> typeArgsMap,
Type[] genericTypeArgs)
Returns a value for an abstract type or interface if possible.
|
private void |
AbstractRandomDataProviderStrategy.log(AttributeMetadata attributeMetadata) |
private <T> T |
PodamFactoryImpl.manufacturePojoInternal(Class<T> pojoClass,
AttributeMetadata pojoMetadata,
ManufacturingContext manufacturingCtx,
Type... genericTypeArgs)
Generic method which returns an instance of the given class filled with
values dictated by the strategy
|
private Object |
PodamFactoryImpl.resolveArrayElementValue(Object pojo,
ManufacturingContext manufacturingCtx,
AttributeMetadata attributeMetadata,
Map<String,Type> typeArgsMap)
It returns an Array with the first element set
|
private Collection<? super Object> |
PodamFactoryImpl.resolveCollectionValueWhenCollectionIsPojoAttribute(Object pojo,
ManufacturingContext manufacturingCtx,
AttributeMetadata attributeMetadata,
Map<String,Type> typeArgsMap)
It returns a collection of some sort with some data in it.
|
private Map<? super Object,? super Object> |
PodamFactoryImpl.resolveMapValueWhenMapIsPojoAttribute(Object pojo,
ManufacturingContext manufacturingCtx,
AttributeMetadata attributeMetadata,
Map<String,Type> typeArgsMap)
It manufactures and returns a Map with at least one element in it
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
BooleanTypeManufacturerImpl.getBoolean(AttributeMetadata attributeMetadata)
It returns a boolean/Boolean value.
|
Byte |
ByteTypeManufacturerImpl.getByte(AttributeMetadata attributeMetadata)
It returns a byte/Byte value.
|
Byte |
ByteTypeManufacturerImpl.getByteInRange(byte minValue,
byte maxValue,
AttributeMetadata attributeMetadata)
It returns a byte/Byte within min and max value (included).
|
Character |
CharTypeManufacturerImpl.getCharacter(AttributeMetadata attributeMetadata)
It returns a char/Character value.
|
Character |
CharTypeManufacturerImpl.getCharacterInRange(char minValue,
char maxValue,
AttributeMetadata attributeMetadata)
It returns a char/Character value between min and max value (included).
|
Double |
DoubleTypeManufacturerImpl.getDouble(AttributeMetadata attributeMetadata)
It returns a double/Double value
|
Double |
DoubleTypeManufacturerImpl.getDoubleInRange(double minValue,
double maxValue,
AttributeMetadata attributeMetadata)
It returns a double/Double value between min and max value (included).
|
Float |
FloatTypeManufacturerImpl.getFloat(AttributeMetadata attributeMetadata)
It returns a float/Float value.
|
Float |
FloatTypeManufacturerImpl.getFloatInRange(float minValue,
float maxValue,
AttributeMetadata attributeMetadata)
It returns a float/Float value between min and max value (included).
|
Integer |
IntTypeManufacturerImpl.getInteger(AttributeMetadata attributeMetadata)
It returns an int/Integer value.
|
int |
IntTypeManufacturerImpl.getIntegerInRange(int minValue,
int maxValue,
AttributeMetadata attributeMetadata)
It returns an int/Integer value between min and max value (included).
|
Long |
LongTypeManufacturerImpl.getLong(AttributeMetadata attributeMetadata)
It returns a long/Long value.
|
Long |
LongTypeManufacturerImpl.getLongInRange(long minValue,
long maxValue,
AttributeMetadata attributeMetadata)
It returns a long/Long value between min and max value (included).
|
Short |
ShortTypeManufacturerImpl.getShort(AttributeMetadata attributeMetadata)
It returns a short/Short value.
|
Short |
ShortTypeManufacturerImpl.getShortInRange(short minValue,
short maxValue,
AttributeMetadata attributeMetadata)
It returns a short/Short value between min and max value (included).
|
String |
StringTypeManufacturerImpl.getStringOfLength(int length,
AttributeMetadata attributeMetadata)
It returns a String of
length characters. |
String |
StringTypeManufacturerImpl.getStringValue(AttributeMetadata attributeMetadata)
It returns a string value
|
Cloneable |
ArrayTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap) |
Byte |
ByteTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Map<Object,Object> |
MapTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap) |
Float |
FloatTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Collection<Object> |
CollectionTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap) |
Integer |
IntTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
String |
StringTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Object |
TypeTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap) |
Boolean |
BooleanTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
T |
TypeManufacturer.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Long |
LongTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Double |
DoubleTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Enum<?> |
EnumTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Short |
ShortTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Character |
CharTypeManufacturerImpl.getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
Copyright © 2016. All rights reserved.