Class KualiIntegerConverter
java.lang.Object
org.kuali.rice.krad.data.jpa.converters.KualiIntegerConverter
- All Implemented Interfaces:
javax.persistence.AttributeConverter<KualiInteger,Long>
public class KualiIntegerConverter
extends Object
implements javax.persistence.AttributeConverter<KualiInteger,Long>
Converts the custom
KualiInteger objects for OJB by converting them to/from Long.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn(KualiInteger objectValue) This implementation will convert from aKualiIntegerto aLong.convertToEntityAttribute(Long dataValue) This implementation will convert from aLongto aKualiInteger.
-
Constructor Details
-
KualiIntegerConverter
public KualiIntegerConverter()
-
-
Method Details
-
convertToDatabaseColumn
This implementation will convert from aKualiIntegerto aLong.- Specified by:
convertToDatabaseColumnin interfacejavax.persistence.AttributeConverter<KualiInteger,Long>
-
convertToEntityAttribute
This implementation will convert from aLongto aKualiInteger.- Specified by:
convertToEntityAttributein interfacejavax.persistence.AttributeConverter<KualiInteger,Long>
-