Subversion Repositories SmartDukaan

Rev

Rev 3504 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3504 Rev 3518
Line 7... Line 7...
7
import javax.jdo.annotations.IdentityType;
7
import javax.jdo.annotations.IdentityType;
8
import javax.jdo.annotations.PersistenceCapable;
8
import javax.jdo.annotations.PersistenceCapable;
9
import javax.jdo.annotations.Persistent;
9
import javax.jdo.annotations.Persistent;
10
import javax.jdo.annotations.PrimaryKey;
10
import javax.jdo.annotations.PrimaryKey;
11
 
11
 
-
 
12
import com.google.appengine.api.datastore.Text;
-
 
13
 
12
@PersistenceCapable(identityType = IdentityType.APPLICATION)
14
@PersistenceCapable(identityType = IdentityType.APPLICATION)
13
public class ComparisonStats implements Serializable {
15
public class ComparisonStats implements Serializable {
14
 
16
 
15
    private static final long serialVersionUID = 1L;
17
    private static final long serialVersionUID = 1L;
16
 
18
 
17
    @PrimaryKey
19
    @PrimaryKey
18
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
20
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
19
    private String id;
21
    private String id;
20
 
22
 
21
    @Persistent
23
    @Persistent
22
    private String comparisonStatsJSON;
24
    private Text comparisonStatsJSON;
23
 
25
 
24
	public void setId(String id) {
26
	public void setId(String id) {
25
		this.id = id;
27
		this.id = id;
26
	}
28
	}
27
 
29
 
28
	public String getId() {
30
	public String getId() {
29
		return id;
31
		return id;
30
	}
32
	}
31
 
33
 
32
	public void setComparisonStatsJSON(String comparisonStatsJSON) {
34
	public void setComparisonStatsJSON(Text comparisonStatsJSON) {
33
		this.comparisonStatsJSON = comparisonStatsJSON;
35
		this.comparisonStatsJSON = comparisonStatsJSON;
34
	}
36
	}
35
 
37
 
36
	public String getComparisonStatsJSON() {
38
	public Text getComparisonStatsJSON() {
37
		return comparisonStatsJSON;
39
		return comparisonStatsJSON;
38
	}
40
	}
39
 
41
 
40
}
42
}