/**
  * Sets all origin entries' entry IDs to be sequential starting from 0 in the collection
  *
  * @param originEntries collection of origin entries
  */
 public static void setSequentialEntryIds(Collection<OriginEntryFull> originEntries) {
   int index = 0;
   for (OriginEntryFull entry : originEntries) {
     entry.setEntryId(new Integer(index));
     index++;
   }
 }
 /**
  * Sets all origin entries' entry IDs to null within the collection.
  *
  * @param originEntries collection of origin entries
  */
 public static void setAllEntryIdsToNull(Collection<OriginEntryFull> originEntries) {
   for (OriginEntryFull entry : originEntries) {
     entry.setEntryId(null);
   }
 }