Class IntConverter

    • Constructor Detail

      • IntConverter

        public IntConverter()
    • Method Detail

      • toJavaValue

        public Integer toJavaValue​(Integer currentValue,
                                   Object value)
        Description copied from interface: FieldConverter
        Transforms from db value to value understood by the java class
        Specified by:
        toJavaValue in interface FieldConverter<Long,​Integer>
        Parameters:
        currentValue - value the java object has right now
        value - db to be transformed
        Returns:
        Java value