Subversion Repositories SmartDukaan

Rev

Rev 3361 | Rev 4413 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3361 Rev 3558
Line 45... Line 45...
45
    private Map<String, String> otherInfo;
45
    private Map<String, String> otherInfo;
46
    private Map<Long, Long> availability;
46
    private Map<Long, Long> availability;
47
    
47
    
48
    private Map<Long, VendorPricings> vendorPricesMap;
48
    private Map<Long, VendorPricings> vendorPricesMap;
49
    private Map<String, VendorItemMapping> vendorKeysMap;
49
    private Map<String, VendorItemMapping> vendorKeysMap;
-
 
50
    private Map<Long, SourcePricings> sourcePricesMap;
50
    public static final String KEY_SEPARATOR= "#";
51
    public static final String KEY_SEPARATOR= "#";
51
    
52
    
52
    private static final long serialVersionUID = -2982668732181655698L;
53
    private static final long serialVersionUID = -2982668732181655698L;
53
 
54
 
54
    public Item() {
55
    public Item() {
Line 66... Line 67...
66
            String itemStatus, Integer itemStatusValue, String itemStatusDesc, 
67
            String itemStatus, Integer itemStatusValue, String itemStatusDesc, 
67
            Map<String, String> otherInfo,
68
            Map<String, String> otherInfo,
68
            String bestDealsText, Double bestDealsValue, Long bestSellingRank, boolean defaultForEntity, boolean risky,
69
            String bestDealsText, Double bestDealsValue, Long bestSellingRank, boolean defaultForEntity, boolean risky,
69
            Integer expectedDelay,
70
            Integer expectedDelay,
70
            String prefferedWarehouse,
71
            String prefferedWarehouse,
-
 
72
            Map<Long, Long> availability, 
-
 
73
            Map<Long,VendorPricings> vendorPricesMap, 
71
            Map<Long, Long> availability, Map<Long,VendorPricings> vendorPricesMap, Map<String, VendorItemMapping> vendorKeysMap) {
74
            Map<String, VendorItemMapping> vendorKeysMap, 
-
 
75
            Map<Long, SourcePricings> sourcePricesMap) {
72
        this();
76
        this();
73
        this.id = id;
77
        this.id = id;
74
        this.vendorCategory = vendorCategory;
78
        this.vendorCategory = vendorCategory;
75
        this.productGroup = productGroup;
79
        this.productGroup = productGroup;
76
        this.brand = brand;
80
        this.brand = brand;
Line 104... Line 108...
104
        
108
        
105
        this.availability = availability;
109
        this.availability = availability;
106
        
110
        
107
        this.vendorPricesMap = vendorPricesMap;
111
        this.vendorPricesMap = vendorPricesMap;
108
        this.vendorKeysMap = vendorKeysMap;
112
        this.vendorKeysMap = vendorKeysMap;
-
 
113
        this.sourcePricesMap = sourcePricesMap;
109
    }
114
    }
110
 
115
 
111
    public long getId() {
116
    public long getId() {
112
        return id;
117
        return id;
113
    }
118
    }
Line 378... Line 383...
378
 
383
 
379
    public void setVendorKeysMap(Map<String, VendorItemMapping> vendorKeysMap) {
384
    public void setVendorKeysMap(Map<String, VendorItemMapping> vendorKeysMap) {
380
        this.vendorKeysMap = vendorKeysMap;
385
        this.vendorKeysMap = vendorKeysMap;
381
    }
386
    }
382
 
387
 
-
 
388
	public void setSourcePricesMap(Map<Long, SourcePricings> sourcePricesMap) {
-
 
389
		this.sourcePricesMap = sourcePricesMap;
-
 
390
	}
-
 
391
 
-
 
392
	public Map<Long, SourcePricings> getSourcePricesMap() {
-
 
393
		return sourcePricesMap;
-
 
394
	}
-
 
395
 
383
 
396
 
384
}
397
}