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