package com.swfarm.biz.ebay.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.swfarm.biz.ebay.bo.EbayItemVariationsPicture;

public class VariationsPictureEntry implements Serializable{
	
	private String propName;
	
	private List<EbayItemVariationsPicture> ebayItemVariationsPictures = new ArrayList<EbayItemVariationsPicture>();

	public String getPropName() {
		return propName;
	}

	public void setPropName(String propName) {
		this.propName = propName;
	}

	public List<EbayItemVariationsPicture> getEbayItemVariationsPictures() {
		return ebayItemVariationsPictures;
	}

	public void setEbayItemVariationsPictures(
			List<EbayItemVariationsPicture> ebayItemVariationsPictures) {
		this.ebayItemVariationsPictures = ebayItemVariationsPictures;
	}

	public void addEbayItemVariationsPicture(EbayItemVariationsPicture ebayItemVariationsPicture){
		if (!ebayItemVariationsPictures.contains(ebayItemVariationsPicture)) {
			ebayItemVariationsPictures.add(ebayItemVariationsPicture);
		}
	}
}
