1 /*-
2  * See the file LICENSE for redistribution information.
3  *
4  * Copyright (c) 2008, 2013 Oracle and/or its affiliates.  All rights reserved.
5  *
6  * $Id$
7  */
8 
9 package persist.txn;
10 
11 import com.sleepycat.persist.model.Entity;
12 import com.sleepycat.persist.model.PrimaryKey;
13 import static com.sleepycat.persist.model.Relationship.*;
14 
15 @Entity
16 public class PayloadDataEntity {
17     @PrimaryKey
18     private int oID;
19 
20     private String threadName;
21 
22     private double doubleData;
23 
PayloadDataEntity()24     PayloadDataEntity() {}
25 
getDoubleData()26     public double getDoubleData() { return doubleData; }
getID()27     public int getID() { return oID; }
getThreadName()28     public String getThreadName() { return threadName; }
29 
setDoubleData(double dd)30     public void setDoubleData(double dd) { doubleData = dd; }
setID(int id)31     public void setID(int id) { oID = id; }
setThreadName(String tn)32     public void setThreadName(String tn) { threadName = tn; }
33 }
34