private void writeCachedDirty() {
   Iterator4 i = _dirtyClassMetadata.iterator();
   while (i.moveNext()) {
     PersistentBase dirty = (PersistentBase) i.current();
     dirty.write(systemTransaction());
     dirty.notCachedDirty();
   }
   _dirtyClassMetadata.clear();
 }
 public final void setDirtyInSystemTransaction(PersistentBase a_object) {
   a_object.setStateDirty();
   a_object.cacheDirty(_dirtyClassMetadata);
 }