Class CharTypeManufacturerImpl
- java.lang.Object
-
- uk.co.jemos.podam.typeManufacturers.AbstractTypeManufacturer<Character>
-
- uk.co.jemos.podam.typeManufacturers.CharTypeManufacturerImpl
-
- All Implemented Interfaces:
TypeManufacturer<Character>
public class CharTypeManufacturerImpl extends AbstractTypeManufacturer<Character>
Default character type manufacturer. Created by tedonema on 17/05/2015.- Since:
- 6.0.0.RELEASE
-
-
Constructor Summary
Constructors Constructor Description CharTypeManufacturerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CharactergetCharacter(AttributeMetadata attributeMetadata)It returns a char/Character value.CharactergetCharacterInRange(char minValue, char maxValue, AttributeMetadata attributeMetadata)It returns a char/Character value between min and max value (included).CharactergetType(DataProviderStrategy strategy, AttributeMetadata attributeMetadata, Map<String,Type> genericTypesArgumentsMap)Returns a type value conforming to the annotations and the AttributeMetadata provided.-
Methods inherited from class uk.co.jemos.podam.typeManufacturers.AbstractTypeManufacturer
findElementOfType, getDouble, getInteger
-
-
-
-
Method Detail
-
getType
public Character getType(DataProviderStrategy strategy, AttributeMetadata attributeMetadata, Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.- Parameters:
strategy- The DataProviderStrategyattributeMetadata- The AttributeMetadatagenericTypesArgumentsMap- map with generic types mapped to actual types- Returns:
- A type value conforming to the annotations and the AttributeMetadata provided.
-
getCharacter
public Character getCharacter(AttributeMetadata attributeMetadata)
It returns a char/Character value.- Parameters:
attributeMetadata- attribute metadata for instance to be fetched- Returns:
- a char/Character value
-
getCharacterInRange
public Character getCharacterInRange(char minValue, char maxValue, AttributeMetadata attributeMetadata)
It returns a char/Character value between min and max value (included).- Parameters:
minValue- The minimum value for the returned valuemaxValue- The maximum value for the returned valueattributeMetadata- attribute metadata for instance to be fetched- Returns:
- A char/Character value between min and max value (included).
-
-