1 21 package com.db4o.inside; 22 23 import com.db4o.ext.Db4oDatabase; 24 25 28 public class SystemData { 29 30 private int _classCollectionID; 31 32 private int _converterVersion; 33 34 private int _freespaceAddress; 35 36 private int _freespaceID; 37 38 private byte _freespaceSystem; 39 40 private Db4oDatabase _identity; 41 42 private long _lastTimeStampID; 43 44 private byte _stringEncoding; 45 46 private int _uuidIndexId; 47 48 public int classCollectionID() { 49 return _classCollectionID; 50 } 51 52 public void classCollectionID(int id) { 53 _classCollectionID = id; 54 } 55 56 public int converterVersion(){ 57 return _converterVersion; 58 } 59 60 public void converterVersion(int version){ 61 _converterVersion = version; 62 } 63 64 public int freespaceAddress(){ 65 return _freespaceAddress; 66 } 67 68 public void freespaceAddress(int address){ 69 _freespaceAddress = address; 70 } 71 72 public int freespaceID() { 73 return _freespaceID; 74 } 75 76 public void freespaceID(int id) { 77 _freespaceID = id; 78 } 79 80 public byte freespaceSystem() { 81 return _freespaceSystem; 82 } 83 84 public void freespaceSystem(byte freespaceSystemtype){ 85 _freespaceSystem = freespaceSystemtype; 86 } 87 88 public Db4oDatabase identity(){ 89 return _identity; 90 } 91 92 public void identity(Db4oDatabase identityObject) { 93 _identity = identityObject; 94 } 95 96 public long lastTimeStampID(){ 97 return _lastTimeStampID; 98 } 99 100 public void lastTimeStampID(long id) { 101 _lastTimeStampID = id; 102 } 103 104 public byte stringEncoding(){ 105 return _stringEncoding; 106 } 107 108 public void stringEncoding(byte encodingByte){ 109 _stringEncoding = encodingByte; 110 } 111 112 public int uuidIndexId(){ 113 return _uuidIndexId; 114 } 115 116 public void uuidIndexId(int id){ 117 _uuidIndexId = id; 118 } 119 120 } 121 | Popular Tags |