public void setRowInserted(boolean insertFlag) throws SQLException {

      checkCursor();

      if(onInsertRow == true)
         throw new SQLException(resBundle.handleGetObject("cachedrowsetimpl.invalidop").toString());

      if( insertFlag ) {
         ((Row)getCurrentRow()).setInserted();
      } else {
         ((Row)getCurrentRow()).clearInserted();
      }
   }
Sets the status for the row on which the cursor is positioned. The insertFlag is used
to mention the toggle status for this row
@param insertFlag if it is true  - marks this row as inserted
                  if it is false - marks it as not a newly inserted row
@throws SQLException if an error occurs while doing this operation
src/main/java/org/replicadb/rowset/StreamingRowSetImpl.java