Class CurrencyUnitConverter

  • All Implemented Interfaces:
    javax.persistence.AttributeConverter<org.joda.money.CurrencyUnit,​java.lang.String>

    public class CurrencyUnitConverter
    extends java.lang.Object
    JPA converter for CurrencyUnits.
    • Constructor Detail

      • CurrencyUnitConverter

        public CurrencyUnitConverter()
    • Method Detail

      • convertToEntityAttribute

        @Nullable
        public org.joda.money.CurrencyUnit convertToEntityAttribute​(@Nullable
                                                                    java.lang.String columnValue)
      • convertToDatabaseColumn

        @Nullable
        public java.lang.String convertToDatabaseColumn​(@Nullable
                                                        T entity)
        Specified by:
        convertToDatabaseColumn in interface javax.persistence.AttributeConverter<T,​java.lang.String>