1package persist.txn; 2 3import com.sleepycat.persist.model.Entity; 4import com.sleepycat.persist.model.PrimaryKey; 5import static com.sleepycat.persist.model.Relationship.*; 6 7@Entity 8public class PayloadDataEntity { 9 @PrimaryKey 10 private int oID; 11 12 private String threadName; 13 14 private double doubleData; 15 16 PayloadDataEntity() {} 17 18 public double getDoubleData() { return doubleData; } 19 public int getID() { return oID; } 20 public String getThreadName() { return threadName; } 21 22 public void setDoubleData(double dd) { doubleData = dd; } 23 public void setID(int id) { oID = id; } 24 public void setThreadName(String tn) { threadName = tn; } 25} 26