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