public class FloatTypeManufacturerImpl extends AbstractTypeManufacturer<Float>
Constructor and Description |
---|
FloatTypeManufacturerImpl() |
Modifier and Type | Method and Description |
---|---|
Float |
getFloat(AttributeMetadata attributeMetadata)
It returns a float/Float value.
|
Float |
getFloatInRange(float minValue,
float maxValue,
AttributeMetadata attributeMetadata)
It returns a float/Float value between min and max value (included).
|
Float |
getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
ManufacturingContext manufacturingCtx)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
findElementOfType, getDouble, getInteger
public Float getType(DataProviderStrategy strategy, AttributeMetadata attributeMetadata, ManufacturingContext manufacturingCtx)
strategy
- The DataProviderStrategyattributeMetadata
- The AttributeMetadatamanufacturingCtx
- pojo manufacturing context with types defintionspublic Float getFloat(AttributeMetadata attributeMetadata)
attributeMetadata
- attribute metadata for instance to be fetchedpublic Float getFloatInRange(float minValue, float maxValue, AttributeMetadata attributeMetadata)
minValue
- The minimum value for the returned valuemaxValue
- The maximum value for the returned valueattributeMetadata
- attribute metadata for instance to be fetchedCopyright © 2023. All rights reserved.