public class KualiDecimalConverter extends Object implements javax.persistence.AttributeConverter<KualiDecimal,BigDecimal>
KualiDecimal
objects for OJB by converting them to/from BigDecimal
.Constructor and Description |
---|
KualiDecimalConverter() |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
convertToDatabaseColumn(KualiDecimal objectValue)
This implementation will convert from a
KualiDecimal to a BigDecimal . |
KualiDecimal |
convertToEntityAttribute(BigDecimal dataValue)
This implementation will convert from a
BigDecimal to a KualiDecimal . |
public KualiDecimalConverter()
public BigDecimal convertToDatabaseColumn(KualiDecimal objectValue)
KualiDecimal
to a BigDecimal
.convertToDatabaseColumn
in interface javax.persistence.AttributeConverter<KualiDecimal,BigDecimal>
public KualiDecimal convertToEntityAttribute(BigDecimal dataValue)
BigDecimal
to a KualiDecimal
.convertToEntityAttribute
in interface javax.persistence.AttributeConverter<KualiDecimal,BigDecimal>
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.