1 21 package com.db4o; 22 23 import com.db4o.ext.*; 24 import com.db4o.inside.*; 25 26 40 public class PBootRecord extends P1Object implements Db4oTypeImpl, Internal4{ 41 42 public Db4oDatabase i_db; 43 44 public long i_versionGenerator; 45 46 public MetaIndex i_uuidMetaIndex; 47 48 public int activationDepth() { 49 return Integer.MAX_VALUE; 50 } 51 52 public MetaIndex getUUIDMetaIndex(){ 53 return i_uuidMetaIndex; 54 } 55 56 public void write(YapFile file) { 57 SystemData systemData = file.systemData(); 58 i_versionGenerator = systemData.lastTimeStampID(); 59 i_db = systemData.identity(); 60 file.showInternalClasses(true); 61 store(2); 62 file.showInternalClasses(false); 63 } 64 65 } | Popular Tags |