Subversion Repositories SmartDukaan

Rev

Rev 3487 | Rev 3504 | Go to most recent revision | 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
import java.util.Map;
6
 
7
import javax.jdo.annotations.IdGeneratorStrategy;
8
import javax.jdo.annotations.IdentityType;
9
import javax.jdo.annotations.PersistenceCapable;
10
import javax.jdo.annotations.Persistent;
11
import javax.jdo.annotations.PrimaryKey;
12
 
13
@PersistenceCapable(identityType = IdentityType.APPLICATION)
14
public class ComparisonStats implements Serializable {
15
 
16
    private static final long serialVersionUID = 1L;
17
 
18
    @PrimaryKey
19
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
3498 rajveer 20
    private String id;
3487 rajveer 21
 
22
    @Persistent
23
    private Map<Long, Map<Long, Long>> comparisonStats;
24
 
3498 rajveer 25
	public void setId(String id) {
3487 rajveer 26
		this.id = id;
27
	}
28
 
3498 rajveer 29
	public String getId() {
3487 rajveer 30
		return id;
31
	}
32
 
33
	public void setComparisonStats(Map<Long, Map<Long, Long>> comparisonStats) {
34
		this.comparisonStats = comparisonStats;
35
	}
36
 
37
	public Map<Long, Map<Long, Long>> getComparisonStats() {
38
		return comparisonStats;
39
	}
40
 
41
}