/*
  * (non-Javadoc)
  *
  * @see com.nokia.tracecompiler.model.TraceObject#reset()
  */
 @Override
 void reset() {
   for (TraceConstantTableEntry entry : entries) {
     // Model listeners are not notified on reset, but if the
     // entry itself implements a delete notification interface,
     // it must be called to do appropriate cleanup
     notifyOnDelete(entry);
     entry.reset();
   }
   super.reset();
 }
 /**
  * Removes the given constant table entry. Creates a objectRemoved event to the model listeners
  *
  * @see TraceModelListener#objectRemoved(TraceObject, TraceObject)
  * @param entry the entry to be removed
  * @throws TraceCompilerException
  */
 public void removeEntry(TraceConstantTableEntry entry) throws TraceCompilerException {
   if (entries.remove(entry)) {
     getModel().notifyObjectRemoved(this, entry);
     entry.reset();
   }
 }