private BigDecimal [ ] asDecimals ( List < Object > values ) { ValueFactory < BigDecimal > factory = valueFactories . getDecimalFactory ( ) ; BigDecimal [ ] res = new BigDecimal [ values . size ( ) ] ; for ( int i = 0 ; i < res . length ; i ++ ) { res [ i ] = factory . create ( values . get ( i ) ) ; } return res ; }
Converts CMIS value of decimal type into JCR value of boolean type .