Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
26588 tejbeer 1
package com.spice.profitmandi.dao.model;
2
 
3
import java.util.List;
4
 
5
import com.spice.profitmandi.dao.Interface.ItemType;
6
 
7
public class SimpleItemType implements ItemType {
8
	private ItemTypeParams itemTypeParams;
9
 
10
	public ItemTypeParams getItemTypeParams() {
11
		return itemTypeParams;
12
	}
13
 
14
	public void setItemTypeParams(ItemTypeParams itemTypeParams) {
15
		this.itemTypeParams = itemTypeParams;
16
	}
17
 
18
	public SimpleItemType(ItemTypeParams itemTypeParams) {
19
		super();
20
		this.itemTypeParams = itemTypeParams;
21
	}
22
 
23
	@Override
24
	public List<Integer> getCatalogId() {
25
		return itemTypeParams.getCatalogId();
26
	}
27
 
28
	@Override
29
	public List<String> getBrands() {
30
		return itemTypeParams.getBrands();
31
	}
32
 
33
}