public class FloatTypeManufacturerImpl extends AbstractTypeManufacturer<Float>
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG
The application logger
|
| 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,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
getDouble, getIntegerpublic Float getType(DataProviderStrategy strategy, AttributeMetadata attributeMetadata, Map<String,Type> genericTypesArgumentsMap)
strategy - The DataProviderStrategyattributeMetadata - The AttributeMetadatagenericTypesArgumentsMap - map with generic types mapped to actual typespublic 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 © 2016. All rights reserved.