Subversion Repositories SmartDukaan

Rev

Rev 3504 | Details | Compare with Previous | Last modification | View Log | RSS feed

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