The problem is that your objects are package private. Make them public, and you can access them.
You can see it from the blue color of the debugger screenshot.
UPDATE:
You have a resultset with 2 columns.
Object[] result= query.list().get(0); BigDecimal number1 = (BigDecimal) result[0]; BigDecimal number2 = (BigDecimal) result[1];