supports any object which tostring method return a positive numeric as string . concode_field_sep String DATE_FORMAT concode_field_sep SimpleDateFormat formatter concode_elem_sep T getConstraint concode_elem_sep Long objectToTimeMillis concode_elem_sep BigDecimal objectToBigDecimal
Long function ( Object arg0 ) { if ( arg0 == null ) { return null ; } try { Long loc0 = Long . parseLong ( arg0 . toString ( ) ) ; if ( loc0 >= 0 ) { return loc0 ; } else { return null ; } } catch ( NumberFormatException loc0 ) { return null ; } }