Property decimalProp = node1.getProperty("decimal_prop");
assertEquals(BigDecimal.valueOf(12.3), decimalProp.getDecimal());
assertEquals(javax.jcr.PropertyType.DECIMAL, decimalProp.getType());
Property dateProp = node1.getProperty("date_prop");
assertEquals(new JodaDateTime("1994-11-05T13:15:30Z").toCalendar(), dateProp.getDate());
assertEquals(javax.jcr.PropertyType.DATE, dateProp.getType());
Property doubleProp = node1.getProperty("double_prop");
assertEquals(12.3, doubleProp.getDouble(), 0);
assertEquals(javax.jcr.PropertyType.DOUBLE, doubleProp.getType());