Class MongoConfig.Decimal128BigDecimalConverter

java.lang.Object
it.gov.pagopa.common.configuration.MongoConfig.Decimal128BigDecimalConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<org.bson.types.Decimal128,BigDecimal>
Enclosing class:
MongoConfig

@ReadingConverter public static class MongoConfig.Decimal128BigDecimalConverter extends Object implements org.springframework.core.convert.converter.Converter<org.bson.types.Decimal128,BigDecimal>
  • Constructor Details

    • Decimal128BigDecimalConverter

      public Decimal128BigDecimalConverter()
  • Method Details

    • convert

      public BigDecimal convert(@NonNull org.bson.types.Decimal128 source)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<org.bson.types.Decimal128,BigDecimal>