Subversion Repositories SmartDukaan

Rev

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

Rev 5460 Rev 5504
Line 51... Line 51...
51
    
51
    
52
    private Map<Long, VendorPricings> vendorPricesMap;
52
    private Map<Long, VendorPricings> vendorPricesMap;
53
    private Map<String, VendorItemMapping> vendorKeysMap;
53
    private Map<String, VendorItemMapping> vendorKeysMap;
54
    private Map<Long, SourcePricings> sourcePricesMap;
54
    private Map<Long, SourcePricings> sourcePricesMap;
55
    private Map<Long, Item> similarItems;
55
    private Map<Long, Item> similarItems;
-
 
56
    private Map<String, VoucherItemMapping> vouchersMap;
56
    public static final String KEY_SEPARATOR= "#";
57
    public static final String KEY_SEPARATOR= "#";
57
    
58
    
58
    private static final long serialVersionUID = -2982668732181655698L;
59
    private static final long serialVersionUID = -2982668732181655698L;
59
 
60
 
60
    public Item() {
61
    public Item() {
Line 75... Line 76...
75
            boolean warehouseStickiness, boolean hasItemNo, boolean itemType, boolean clearance,
76
            boolean warehouseStickiness, boolean hasItemNo, boolean itemType, boolean clearance,
76
            Long prefferedVendor,
77
            Long prefferedVendor,
77
            Map<Long, ItemInventory> itemInventory,
78
            Map<Long, ItemInventory> itemInventory,
78
            Map<Long,VendorPricings> vendorPricesMap, 
79
            Map<Long,VendorPricings> vendorPricesMap, 
79
            Map<String, VendorItemMapping> vendorKeysMap, 
80
            Map<String, VendorItemMapping> vendorKeysMap, 
80
            Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems) {
81
            Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems, Map<String, VoucherItemMapping> vouchersMap) {
81
        this();
82
        this();
82
        this.id = id;
83
        this.id = id;
83
        this.productGroup = productGroup;
84
        this.productGroup = productGroup;
84
        this.brand = brand;
85
        this.brand = brand;
85
        this.modelNumber = modelNumber;
86
        this.modelNumber = modelNumber;
Line 119... Line 120...
119
        
120
        
120
        this.vendorPricesMap = vendorPricesMap;
121
        this.vendorPricesMap = vendorPricesMap;
121
        this.vendorKeysMap = vendorKeysMap;
122
        this.vendorKeysMap = vendorKeysMap;
122
        this.sourcePricesMap = sourcePricesMap;
123
        this.sourcePricesMap = sourcePricesMap;
123
        this.similarItems = similarItems;
124
        this.similarItems = similarItems;
-
 
125
        this.vouchersMap = vouchersMap;
124
    }
126
    }
125
 
127
 
126
    public long getId() {
128
    public long getId() {
127
        return id;
129
        return id;
128
    }
130
    }
Line 451... Line 453...
451
 
453
 
452
	public boolean isClearance() {
454
	public boolean isClearance() {
453
		return clearance;
455
		return clearance;
454
	}
456
	}
455
 
457
 
-
 
458
	public void setVouchersMap(Map<String, VoucherItemMapping> vouchersMap) {
-
 
459
		this.vouchersMap = vouchersMap;
-
 
460
	}
-
 
461
 
-
 
462
	public Map<String, VoucherItemMapping> getVouchersMap() {
-
 
463
		return vouchersMap;
-
 
464
	}
-
 
465
 
456
}
466
}