Subversion Repositories SmartDukaan

Rev

View as "text/plain" | Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.model;

import java.util.List;

import com.spice.profitmandi.dao.Interface.ItemType;

public class SimpleItemType implements ItemType {
        private ItemTypeParams itemTypeParams;

        public ItemTypeParams getItemTypeParams() {
                return itemTypeParams;
        }

        public void setItemTypeParams(ItemTypeParams itemTypeParams) {
                this.itemTypeParams = itemTypeParams;
        }

        public SimpleItemType(ItemTypeParams itemTypeParams) {
                super();
                this.itemTypeParams = itemTypeParams;
        }

        @Override
        public List<Integer> getCatalogId() {
                return itemTypeParams.getCatalogId();
        }

        @Override
        public List<String> getBrands() {
                return itemTypeParams.getBrands();
        }

}