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