public class MonetaryAmountAttributeConverter extends Object implements javax.persistence.AttributeConverter<javax.money.MonetaryAmount,String>
AttributeConverter to serialize MonetaryAmount instances into a String. Auto-applied to
all entity properties of type MonetaryAmount.| Constructor and Description |
|---|
MonetaryAmountAttributeConverter() |
| Modifier and Type | Method and Description |
|---|---|
String |
convertToDatabaseColumn(javax.money.MonetaryAmount amount) |
javax.money.MonetaryAmount |
convertToEntityAttribute(String source) |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.