public class DoubleTypeManufacturerImpl extends AbstractTypeManufacturer<Double>
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG
The application logger
|
| Constructor and Description |
|---|
DoubleTypeManufacturerImpl() |
| Modifier and Type | Method and Description |
|---|---|
Double |
getDouble(AttributeMetadata attributeMetadata)
It returns a double/Double value
|
Double |
getDoubleInRange(double minValue,
double maxValue,
AttributeMetadata attributeMetadata)
It returns a double/Double value between min and max value (included).
|
Double |
getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
getDouble, getIntegerpublic Double getType(DataProviderStrategy strategy, AttributeMetadata attributeMetadata, Map<String,Type> genericTypesArgumentsMap)
strategy - The DataProviderStrategyattributeMetadata - The AttributeMetadatagenericTypesArgumentsMap - map with generic types mapped to actual typespublic Double getDouble(AttributeMetadata attributeMetadata)
attributeMetadata - attribute metadata for instance to be fetchedpublic Double getDoubleInRange(double minValue, double 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.