- genericTypeArgs - Variable in class uk.co.jemos.podam.api.MapKeyOrElementsArguments
-
The generic type arguments for the current generic class
instance.
- getActualTypeArguments() - Method in class uk.co.jemos.podam.api.PodamParameterizedType
- getAnnotations() - Method in class uk.co.jemos.podam.api.AbstractMapArguments
-
- getAttributeAnnotations() - Method in class uk.co.jemos.podam.api.AttributeMetadata
-
- getAttributeName() - Method in class uk.co.jemos.podam.api.AttributeMetadata
-
- getAttributeType() - Method in class uk.co.jemos.podam.api.AttributeMetadata
-
- getBoolean(AttributeMetadata) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
It returns a boolean/Boolean value.
- getBoolean(AttributeMetadata) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
It returns a boolean/Boolean value.
- getBooleanValueForAnnotation(List<Annotation>) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
It returns the boolean value indicated in the annotation.
- getByte(AttributeMetadata) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
It returns a byte/Byte value.
- getByte(AttributeMetadata) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
It returns a byte/Byte value.
- getByteInRange(byte, byte, AttributeMetadata) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
It returns a byte/Byte within min and max value (included).
- getByteInRange(byte, byte, AttributeMetadata) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
It returns a byte/Byte within min and max value (included).
- getByteValueWithinRange(List<Annotation>, AttributeMetadata) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
It returns a random byte if the attribute was annotated with
PodamByteValue or
null otherwise
- getCharacter(AttributeMetadata) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
It returns a char/Character value.
- getCharacter(AttributeMetadata) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
It returns a char/Character value.
- getCharacterInRange(char, char, AttributeMetadata) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
It returns a char/Character value between min and max value (included).
- getCharacterInRange(char, char, AttributeMetadata) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
It returns a char/Character value between min and max value (included).
- getCharacterValueWithinRange(List<Annotation>, AttributeMetadata) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
It creates and returns a random
Character value
- getClassInfo(Class<?>) - Static method in class uk.co.jemos.podam.api.PodamUtils
-
It returns a
ClassInfo object for the given class
- getClassInfo(Class<?>, Set<Class<? extends Annotation>>) - Static method in class uk.co.jemos.podam.api.PodamUtils
-
It returns a
ClassInfo object for the given class
- getClassSetters() - Method in class uk.co.jemos.podam.api.ClassInfo
-
- getDeclaredInstanceFields(Class<?>) - Static method in class uk.co.jemos.podam.api.PodamUtils
-
Given a class, it returns a Set of its declared instance field names.
- getDeclaredInstanceFields(Class<?>, Set<Class<? extends Annotation>>) - Static method in class uk.co.jemos.podam.api.PodamUtils
-
Given a class, it returns a Set of its declared instance field names.
- getDefaultFieldValue(Class<?>, String) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
It returns an default value for a
Field matching the attribute
name or null if a field was not found.
- getDouble(AttributeMetadata) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
It returns a double/Double value
- getDouble(AttributeMetadata) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
It returns a double/Double value
- getDoubleInRange(double, double, AttributeMetadata) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
It returns a double/Double value between min and max value (included).
- getDoubleInRange(double, double, AttributeMetadata) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
It returns a double/Double value between min and max value (included).
- getDoubleValueWithinRange(List<Annotation>, AttributeMetadata) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
It creates and returns a random
Double value
- getElementClass() - Method in class uk.co.jemos.podam.api.MapArguments
-
- getElementGenericTypeArgs() - Method in class uk.co.jemos.podam.api.MapArguments
-
- getElementStrategy() - Method in class uk.co.jemos.podam.api.MapKeyOrElementsArguments
-
- getExcludedAnnotations() - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
- getExcludedAnnotations() - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
- getField(Class<?>, String) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
It returns a
Field matching the attribute name or null if a field
was not found.
- getFloat(AttributeMetadata) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
It returns a float/Float value.
- getFloat(AttributeMetadata) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
It returns a float/Float value.
- getFloatInRange(float, float, AttributeMetadata) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
It returns a float/Float value between min and max value (included).
- getFloatInRange(float, float, AttributeMetadata) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
It returns a float/Float value between min and max value (included).
- getFloatValueWithinRange(List<Annotation>, AttributeMetadata) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
Returns either a customised float value if a
PodamFloatValue
annotation was provided or a random float if this was not the case
- getGenericTypeArgs() - Method in class uk.co.jemos.podam.api.MapKeyOrElementsArguments
-
- getGetterFor(Field) - Static method in class uk.co.jemos.podam.api.PodamUtils
-
It returns the getter for the given field.
- getInstance() - Static method in class uk.co.jemos.podam.api.LoggingExternalFactory
-
Instantiation method
- getInstance() - Static method in class uk.co.jemos.podam.api.RandomDataProviderStrategy
-
Implementation of the Singleton pattern
- getInstance(int) - Static method in class uk.co.jemos.podam.api.RandomDataProviderStrategy
-
Other factory method which assigns a default number of collection
elements before returning the singleton.
- getInteger(AttributeMetadata) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
It returns an int/Integer value.
- getInteger(AttributeMetadata) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
It returns an int/Integer value.
- getIntegerInRange(int, int, AttributeMetadata) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
It returns an int/Integer value between min and max value (included).
- getIntegerInRange(int, int, AttributeMetadata) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
It returns an int/Integer value between min and max value (included).
- getIntegerValueWithinRange(List<Annotation>, AttributeMetadata) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
Returns either a customised int value if a
PodamIntValue
annotation was provided or a random integer if this was not the case
- getKeyClass() - Method in class uk.co.jemos.podam.api.MapArguments
-
- getKeyGenericTypeArgs() - Method in class uk.co.jemos.podam.api.MapArguments
-
- getKeyOrValueType() - Method in class uk.co.jemos.podam.api.MapKeyOrElementsArguments
-
- getLong(AttributeMetadata) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
This implementation returns the current time in milliseconds.
- getLong(AttributeMetadata) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
It returns a long/Long value.
- getLongInRange(long, long, AttributeMetadata) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
It returns a long/Long value between min and max value (included).
- getLongInRange(long, long, AttributeMetadata) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
It returns a long/Long value between min and max value (included).
- getLongValueWithinRange(List<Annotation>, AttributeMetadata) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
Returns either a customised long value if a
PodamLongValue
annotation was provided or a random long if this was not the case
- getMapKeyOrElementValue(MapKeyOrElementsArguments) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
It fills a Map key or value with the appropriate value, considering
attribute-level customisation.
- getMapToBeFilled() - Method in class uk.co.jemos.podam.api.MapArguments
-
- getMaxDepth(Class<?>) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
Returns how many times it is allowed to PODAM to create an instance
of the same class in a recursive hierarchy
- getMaxDepth(Class<?>) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
Returns how many times it is allowed to PODAM to create an instance
of the same class in a recursive hierarchy
- getNumberOfCollectionElements(Class<?>) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
Returns the number of default collection elements.
- getNumberOfCollectionElements(Class<?>) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
Returns the number of default collection elements.
- getOwnerType() - Method in class uk.co.jemos.podam.api.PodamParameterizedType
- getParameterValuesForConstructor(Constructor<?>, Class<?>, Map<Class<?>, Integer>, Type...) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
Given a constructor it manufactures and returns the parameter values
required to invoke it
- getPojoClass() - Method in class uk.co.jemos.podam.api.AbstractMapArguments
-
- getPojoClass() - Method in class uk.co.jemos.podam.api.AttributeMetadata
-
- getPojos() - Method in class uk.co.jemos.podam.api.AbstractMapArguments
-
- getPojoSetters(Class<?>, Set<String>) - Static method in class uk.co.jemos.podam.api.PodamUtils
-
Given a class and a set of class declared fields it returns a Set of
setters matching the declared fields
- getRawType() - Method in class uk.co.jemos.podam.api.PodamParameterizedType
- getShort(AttributeMetadata) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
It returns a short/Short value.
- getShort(AttributeMetadata) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
It returns a short/Short value.
- getShortInRange(short, short, AttributeMetadata) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
It returns a short/Short value between min and max value (included).
- getShortInRange(short, short, AttributeMetadata) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
It returns a short/Short value between min and max value (included).
- getShortValueWithinRange(List<Annotation>, AttributeMetadata) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
It returns a random short if the attribute was annotated with
PodamShortValue or
null otherwise
- getSpecificClass(Class<T>) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
Resolves abstract classes and interfaces.
- getSpecificClass(Class<T>) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
Resolves abstract classes and interfaces.
- getStrategy() - Method in class uk.co.jemos.podam.api.LoggingExternalFactory
-
It returns the strategy for this factory.
- getStrategy() - Method in interface uk.co.jemos.podam.api.PodamFactory
-
It returns the strategy for this factory.
- getStrategy() - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
It returns the strategy for this factory.
- getStringOfLength(int, AttributeMetadata) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
It returns a String of length characters.
- getStringOfLength(int, AttributeMetadata) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
It returns a String of length characters.
- getStringValue(AttributeMetadata) - Method in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
It returns a string value
- getStringValue(AttributeMetadata) - Method in interface uk.co.jemos.podam.api.DataProviderStrategy
-
It returns a string value
- getValue() - Method in class uk.co.jemos.podam.api.ObjectStrategy
-
It returns a value of the given type
- getValue() - Method in interface uk.co.jemos.podam.common.AttributeStrategy
-
It returns a value of the given type
- manufactureAttributeValue(Class<?>, Map<Class<?>, Integer>, Class<?>, List<Annotation>, String, Type...) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
It manufactures and returns the value for a POJO attribute.
- manufactureAttributeValue(Class<?>, Map<Class<?>, Integer>, Class<?>, List<Annotation>, String, Map<String, Type>, Type...) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
It manufactures and returns the value for a POJO attribute.
- manufacturePojo(Class<T>) - Method in class uk.co.jemos.podam.api.LoggingExternalFactory
-
Generic method which returns an instance of the given class filled with
dummy values, using the default data provider strategy.
- manufacturePojo(Class<T>, Type...) - Method in class uk.co.jemos.podam.api.LoggingExternalFactory
-
Generic method which returns an instance of the given class filled with
dummy values, using the default data provider strategy.
- manufacturePojo(Class<T>) - Method in interface uk.co.jemos.podam.api.PodamFactory
-
Generic method which returns an instance of the given class filled with
dummy values, using the default data provider strategy.
- manufacturePojo(Class<T>, Type...) - Method in interface uk.co.jemos.podam.api.PodamFactory
-
Generic method which returns an instance of the given class filled with
dummy values, using the default data provider strategy.
- manufacturePojo(Class<T>) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
Generic method which returns an instance of the given class filled with
dummy values, using the default data provider strategy.
- manufacturePojo(Class<T>, Type...) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
Generic method which returns an instance of the given class filled with
dummy values, using the default data provider strategy.
- manufacturePojoInternal(Class<T>, Map<Class<?>, Integer>, Type...) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
Generic method which returns an instance of the given class filled with
values dictated by the strategy
- MAP_CREATION_EXCEPTION_STR - Static variable in class uk.co.jemos.podam.api.PodamFactoryImpl
-
- MapArguments - Class in uk.co.jemos.podam.api
-
Pojo which contains the arguments required to fill a Map as a POJO attribute
- MapArguments() - Constructor for class uk.co.jemos.podam.api.MapArguments
-
- MapKeyOrElementsArguments - Class in uk.co.jemos.podam.api
-
Contains attributes for the arguments to pass to the factory method to fill
map key or elements.
- MapKeyOrElementsArguments() - Constructor for class uk.co.jemos.podam.api.MapKeyOrElementsArguments
-
- mapToBeFilled - Variable in class uk.co.jemos.podam.api.MapArguments
-
The Map to be returned.
- MAX_DEPTH - Static variable in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
How many times it is allowed to PODAM to create an instance of the same
class in a recursive hierarchy
- maxDepth - Variable in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
The max stack trace depth.
- memoizationTable - Variable in class uk.co.jemos.podam.api.PodamFactoryImpl
-
A map to keep one object for each class.
- mergeTypeArrays(Type[], Type[]) - Method in class uk.co.jemos.podam.api.PodamFactoryImpl
-
Utility method to merge two arrays
- METHOD_COMPARATOR - Static variable in class uk.co.jemos.podam.api.AbstractRandomDataProviderStrategy
-
The constructor comparator
- MethodComparator - Class in uk.co.jemos.podam.common
-
It provides a comparator to sort the constructor to choose first.
- MethodComparator() - Constructor for class uk.co.jemos.podam.common.MethodComparator
-
- PODAM_ATTRIBUTE_STRATEGY_METHOD_NAME - Static variable in class uk.co.jemos.podam.common.PodamConstants
-
- PodamBooleanValue - Annotation Type in uk.co.jemos.podam.common
-
Annotation used to customise a boolean value on the annotated field
- PodamByteValue - Annotation Type in uk.co.jemos.podam.common
-
Annotation used to customise min and max values of a byte type attribute or
constructor parameter.
- PodamCharValue - Annotation Type in uk.co.jemos.podam.common
-
Annotation used to customise min and max values of a char type attribute or
constructor parameter.
- PodamCollection - Annotation Type in uk.co.jemos.podam.common
-
Annotation used to customise collection-type elements
- PodamConstants - Class in uk.co.jemos.podam.common
-
PODAM constants.
- PodamConstants() - Constructor for class uk.co.jemos.podam.common.PodamConstants
-
Non-instantiable constructor
- PodamConstructor - Annotation Type in uk.co.jemos.podam.common
-
It identifies a constructor to use in order to create an instance of a class.
- PodamDoubleValue - Annotation Type in uk.co.jemos.podam.common
-
Annotation used to customise min and max values on a double type attribute or
constructor parameter.
- PodamExclude - Annotation Type in uk.co.jemos.podam.common
-
Annotation which will have PODAM to skip the annotated attribute from
consideration.
- PodamFactory - Interface in uk.co.jemos.podam.api
-
Contract for PODAM factory
- PodamFactoryImpl - Class in uk.co.jemos.podam.api
-
The PODAM factory implementation
- PodamFactoryImpl() - Constructor for class uk.co.jemos.podam.api.PodamFactoryImpl
-
Default constructor.
- PodamFactoryImpl(DataProviderStrategy) - Constructor for class uk.co.jemos.podam.api.PodamFactoryImpl
-
Constructor with non-default strategy
- PodamFactoryImpl(PodamFactory) - Constructor for class uk.co.jemos.podam.api.PodamFactoryImpl
-
Constructor with non-default external factory
- PodamFactoryImpl(PodamFactory, DataProviderStrategy) - Constructor for class uk.co.jemos.podam.api.PodamFactoryImpl
-
Full constructor.
- PodamFloatValue - Annotation Type in uk.co.jemos.podam.common
-
Annotation used to customise min and max values on a float type attribute or
constructor parameter.
- PodamIntValue - Annotation Type in uk.co.jemos.podam.common
-
Annotation used to customise min and max values on an integer type attribute
or constructor parameter.
- PodamLongValue - Annotation Type in uk.co.jemos.podam.common
-
Annotation used to customise min and max values on a long type attribute or
constructor parameter.
- PodamMockeryException - Exception in uk.co.jemos.podam.exceptions
-
The exception which occurs while PODAM is filling a POJO.
- PodamMockeryException(String, Throwable) - Constructor for exception uk.co.jemos.podam.exceptions.PodamMockeryException
-
Full constructor
- PodamParameterizedType - Class in uk.co.jemos.podam.api
-
- PodamParameterizedType(Class<?>, Type...) - Constructor for class uk.co.jemos.podam.api.PodamParameterizedType
-
Base constructor.
- PodamShortValue - Annotation Type in uk.co.jemos.podam.common
-
Annotation used to customise min and max values of a short type attribute or
constructor parameter.
- PodamStrategyValue - Annotation Type in uk.co.jemos.podam.common
-
Annotation to drive the value of the annotated attribute.
- PodamStringValue - Annotation Type in uk.co.jemos.podam.common
-
Annotation used to customise string type attributes or constructor parameter.
- PodamUtils - Class in uk.co.jemos.podam.api
-
PODAM Utilities class.
- PodamUtils() - Constructor for class uk.co.jemos.podam.api.PodamUtils
-
Non instantiable constructor
- pojoClass - Variable in class uk.co.jemos.podam.api.AbstractMapArguments
-
The POJO where the Map attribute has been declared.
- pojoClass - Variable in class uk.co.jemos.podam.api.AttributeMetadata
-
Type of class that owns the attribute
- pojos - Variable in class uk.co.jemos.podam.api.AbstractMapArguments
-
Set of manufactured pojos' types.