Class ByteTypeManufacturerImpl
- java.lang.Object
-
- uk.co.jemos.podam.typeManufacturers.AbstractTypeManufacturer<Byte>
-
- uk.co.jemos.podam.typeManufacturers.ByteTypeManufacturerImpl
-
- All Implemented Interfaces:
TypeManufacturer<Byte>
public class ByteTypeManufacturerImpl extends AbstractTypeManufacturer<Byte>
Default byte type manufacturer. Created by tedonema on 17/05/2015.- Since:
- 6.0.0.RELEASE
-
-
Constructor Summary
Constructors Constructor Description ByteTypeManufacturerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BytegetByte(AttributeMetadata attributeMetadata)It returns a byte/Byte value.BytegetByteInRange(byte minValue, byte maxValue, AttributeMetadata attributeMetadata)It returns a byte/Byte within min and max value (included).BytegetType(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 Byte 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.
-
getByte
public Byte getByte(AttributeMetadata attributeMetadata)
It returns a byte/Byte value.- Parameters:
attributeMetadata- attribute metadata for instance to be fetched- Returns:
- a boolean/Boolean value
-
getByteInRange
public Byte getByteInRange(byte minValue, byte maxValue, AttributeMetadata attributeMetadata)
It returns a byte/Byte within 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 byte/Byte within min and max value (included).
-
-