Package org.hibernate.testing.orm.domain
Class MonetaryAmountConverter
java.lang.Object
org.hibernate.testing.orm.domain.MonetaryAmountConverter
- All Implemented Interfaces:
AttributeConverter<javax.money.MonetaryAmount,
Double>
public class MonetaryAmountConverter
extends Object
implements AttributeConverter<javax.money.MonetaryAmount,Double>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn
(javax.money.MonetaryAmount attribute) javax.money.MonetaryAmount
convertToEntityAttribute
(Double dbData)
-
Constructor Details
-
MonetaryAmountConverter
public MonetaryAmountConverter()
-
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumn
in interfaceAttributeConverter<javax.money.MonetaryAmount,
Double>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute
in interfaceAttributeConverter<javax.money.MonetaryAmount,
Double>
-