1 package org.sourceforge.jemm.database.persistent.berkeley;
2
3 import com.sleepycat.persist.model.Entity;
4 import com.sleepycat.persist.model.PrimaryKey;
5
6 import org.sourceforge.jemm.types.ID;
7
8 @Entity
9 class RootEntry {
10 @PrimaryKey
11 protected final String rootName;
12
13 protected final ID value;
14
15 public RootEntry(String rootName,ID value) {
16 this.rootName = rootName;
17 this.value = value;
18 }
19
20 @SuppressWarnings("unused")
21 private RootEntry() { rootName = null; value = null; }
22 }