Ejemplo n.º 1
0
 /**
  * Determine whether or not any columns in the current index row are being changed by the update.
  * No need to update the index if no columns changed.
  *
  * @return Nothing.
  * @exception StandardException Thrown on error
  */
 private boolean indexRowChanged() throws StandardException {
   int numColumns = ourIndexRow.nColumns();
   for (int index = 1; index <= numColumns; index++) {
     DataValueDescriptor oldOrderable = ourIndexRow.getColumn(index);
     DataValueDescriptor newOrderable = ourUpdatedIndexRow.getColumn(index);
     if (!(oldOrderable.compare(DataValueDescriptor.ORDER_OP_EQUALS, newOrderable, true, true))) {
       return true;
     }
   }
   return false;
 }