Subversion Repositories SmartDukaan

Rev

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

Rev 4413 Rev 4423
Line 49... Line 49...
49
    private Map<Long, Long> availability;
49
    private Map<Long, Long> availability;
50
    
50
    
51
    private Map<Long, VendorPricings> vendorPricesMap;
51
    private Map<Long, VendorPricings> vendorPricesMap;
52
    private Map<String, VendorItemMapping> vendorKeysMap;
52
    private Map<String, VendorItemMapping> vendorKeysMap;
53
    private Map<Long, SourcePricings> sourcePricesMap;
53
    private Map<Long, SourcePricings> sourcePricesMap;
-
 
54
    private Map<Long, Item> similarItems;
54
    public static final String KEY_SEPARATOR= "#";
55
    public static final String KEY_SEPARATOR= "#";
55
    
56
    
56
    private static final long serialVersionUID = -2982668732181655698L;
57
    private static final long serialVersionUID = -2982668732181655698L;
57
 
58
 
58
    public Item() {
59
    public Item() {
Line 73... Line 74...
73
            Integer expectedDelay,
74
            Integer expectedDelay,
74
            String prefferedWarehouse, String defaultWarehouse, boolean warehouseStickiness,
75
            String prefferedWarehouse, String defaultWarehouse, boolean warehouseStickiness,
75
            Map<Long, Long> availability, 
76
            Map<Long, Long> availability, 
76
            Map<Long,VendorPricings> vendorPricesMap, 
77
            Map<Long,VendorPricings> vendorPricesMap, 
77
            Map<String, VendorItemMapping> vendorKeysMap, 
78
            Map<String, VendorItemMapping> vendorKeysMap, 
78
            Map<Long, SourcePricings> sourcePricesMap) {
79
            Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems) {
79
        this();
80
        this();
80
        this.id = id;
81
        this.id = id;
81
        this.vendorCategory = vendorCategory;
82
        this.vendorCategory = vendorCategory;
82
        this.productGroup = productGroup;
83
        this.productGroup = productGroup;
83
        this.brand = brand;
84
        this.brand = brand;
Line 114... Line 115...
114
        this.availability = availability;
115
        this.availability = availability;
115
        
116
        
116
        this.vendorPricesMap = vendorPricesMap;
117
        this.vendorPricesMap = vendorPricesMap;
117
        this.vendorKeysMap = vendorKeysMap;
118
        this.vendorKeysMap = vendorKeysMap;
118
        this.sourcePricesMap = sourcePricesMap;
119
        this.sourcePricesMap = sourcePricesMap;
-
 
120
        this.similarItems = similarItems;
119
    }
121
    }
120
 
122
 
121
    public long getId() {
123
    public long getId() {
122
        return id;
124
        return id;
123
    }
125
    }
Line 388... Line 390...
388
 
390
 
389
    public void setVendorKeysMap(Map<String, VendorItemMapping> vendorKeysMap) {
391
    public void setVendorKeysMap(Map<String, VendorItemMapping> vendorKeysMap) {
390
        this.vendorKeysMap = vendorKeysMap;
392
        this.vendorKeysMap = vendorKeysMap;
391
    }
393
    }
392
 
394
 
393
	public void setSourcePricesMap(Map<Long, SourcePricings> sourcePricesMap) {
395
    public void setSourcePricesMap(Map<Long, SourcePricings> sourcePricesMap) {
394
		this.sourcePricesMap = sourcePricesMap;
396
        this.sourcePricesMap = sourcePricesMap;
395
	}
397
    }
396
 
398
 
397
	public Map<Long, SourcePricings> getSourcePricesMap() {
399
    public Map<Long, SourcePricings> getSourcePricesMap() {
398
		return sourcePricesMap;
400
        return sourcePricesMap;
399
	}
401
    }
400
 
402
 
401
    public boolean isWarehouseStickiness() {
403
    public boolean isWarehouseStickiness() {
402
        return warehouseStickiness;
404
        return warehouseStickiness;
403
    }
405
    }
404
 
406
 
Line 412... Line 414...
412
 
414
 
413
    public void setDefaultWarehouse(String defaultWarehouse) {
415
    public void setDefaultWarehouse(String defaultWarehouse) {
414
        this.defaultWarehouse = defaultWarehouse;
416
        this.defaultWarehouse = defaultWarehouse;
415
    }
417
    }
416
 
418
 
-
 
419
    public void setSimilarItems(Map<Long, Item> similarItems) {
-
 
420
        this.similarItems = similarItems;
-
 
421
    }
-
 
422
 
-
 
423
    public Map<Long, Item> getSimilarItems() {
-
 
424
        return similarItems;
-
 
425
    }
417
 
426
 
418
}
427
}