protected T getObject ( ) { final T object ; if ( reusedObject != null ) { // REUSE THE SAME RECORD AFTER HAVING RESETTED IT object = reusedObject ; object . reset ( ) ; } else // CREATE A NEW ONE object = ( T ) database . newInstance ( className ) ; return object ; }
Returns the object to use for the operation .