public BagArray getBagArray ( int index ) { Object object = getObject ( index ) ; try { return ( BagArray ) object ; } catch ( ClassCastException exception ) { log . warn ( "Cannot cast value type (" + object . getClass ( ) . getName ( ) + ") to BagArray for index (" + index + ")" ) ; } return null ; }
Retrieve an indexed element and return it as a BagArray .