| Total Complexity | 1 | 
| Total Lines | 12 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | package com.hltech.pact.gen.domain.pact; | ||
| 12 | public class BigDecimalManufacturer extends AbstractTypeManufacturer<BigDecimal> { | ||
| 13 | |||
| 14 | public static final Integer MINIMAL_SCALE = 0; | ||
| 15 | public static final Integer MAXIMAL_SCALE = 100; | ||
| 16 | |||
| 17 | @Override | ||
| 18 | public BigDecimal getType(DataProviderStrategy strategy, | ||
| 19 | AttributeMetadata attributeMetadata, | ||
| 20 |                               Map<String, Type> genericTypesArgumentsMap) { | ||
| 21 | return new BigDecimal( | ||
| 22 | new BigIntegerManufacturer().getType(strategy, attributeMetadata, genericTypesArgumentsMap), | ||
| 23 | new IntTypeManufacturerImpl().getIntegerInRange(MINIMAL_SCALE, MAXIMAL_SCALE, attributeMetadata)); | ||
| 24 | } | ||
| 26 |