public class StringTypeManufacturerImpl extends AbstractTypeManufacturer<String>
| Constructor and Description |
|---|
StringTypeManufacturerImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getStringOfLength(int length,
AttributeMetadata attributeMetadata)
It returns a String of
length characters. |
String |
getStringValue(AttributeMetadata attributeMetadata)
It returns a string value
|
String |
getType(DataProviderStrategy strategy,
AttributeMetadata attributeMetadata,
Map<String,Type> genericTypesArgumentsMap)
Returns a type value conforming to the annotations and the AttributeMetadata provided.
|
getDouble, getIntegerpublic String getType(DataProviderStrategy strategy, AttributeMetadata attributeMetadata, Map<String,Type> genericTypesArgumentsMap)
strategy - The DataProviderStrategyattributeMetadata - The AttributeMetadatagenericTypesArgumentsMap - map with generic types mapped to actual typespublic String getStringValue(AttributeMetadata attributeMetadata)
attributeMetadata - attribute metadata for instance to be fetchedpublic String getStringOfLength(int length, AttributeMetadata attributeMetadata)
length characters.length - The number of characters required in the returned StringattributeMetadata - attribute metadata for instance to be fetchedlength charactersCopyright © 2016. All rights reserved.