Returns the operation (valid returns are insert, delete, update, and exec) at the position of elemAt. If there is only one element, use 0.
int msgSize = size();
for (int ido = 0; ido < msgSize; ido++)
{
    // prints out the operation name of the (ido)th
    // operation
    System.out.println("MyMsgGenerator-Operation : " +
             dbe.getOperation(ido));
}