* @return An array of sample item data.
*/
private static List<ReplaceableItem> createSampleData() {
List<ReplaceableItem> sampleData = new ArrayList<ReplaceableItem>();
sampleData.add(new ReplaceableItem("Item_01").withAttributes(
new ReplaceableAttribute("Category", "Clothes", true),
new ReplaceableAttribute("Subcategory", "Sweater", true),
new ReplaceableAttribute("Name", "Cathair Sweater", true),
new ReplaceableAttribute("Color", "Siamese", true),
new ReplaceableAttribute("Size", "Small", true),
new ReplaceableAttribute("Size", "Medium", true),
new ReplaceableAttribute("Size", "Large", true)));
sampleData.add(new ReplaceableItem("Item_02").withAttributes(
new ReplaceableAttribute("Category", "Clothes", true),
new ReplaceableAttribute("Subcategory","Pants", true),
new ReplaceableAttribute("Name", "Designer Jeans", true),
new ReplaceableAttribute("Color", "Paisley Acid Wash", true),
new ReplaceableAttribute("Size", "30x32", true),
new ReplaceableAttribute("Size", "32x32", true),
new ReplaceableAttribute("Size", "32x34", true)));
sampleData.add(new ReplaceableItem("Item_03").withAttributes(
new ReplaceableAttribute("Category", "Clothes", true),
new ReplaceableAttribute("Subcategory", "Pants", true),
new ReplaceableAttribute("Name", "Sweatpants", true),
new ReplaceableAttribute("Color", "Blue", true),
new ReplaceableAttribute("Color", "Yellow", true),
new ReplaceableAttribute("Color", "Pink", true),
new ReplaceableAttribute("Size", "Large", true),
new ReplaceableAttribute("Year", "2006", true),
new ReplaceableAttribute("Year", "2007", true)));
sampleData.add(new ReplaceableItem("Item_04").withAttributes(
new ReplaceableAttribute("Category", "Car Parts", true),
new ReplaceableAttribute("Subcategory", "Engine", true),
new ReplaceableAttribute("Name", "Turbos", true),
new ReplaceableAttribute("Make", "Audi", true),
new ReplaceableAttribute("Model", "S4", true),
new ReplaceableAttribute("Year", "2000", true),
new ReplaceableAttribute("Year", "2001", true),
new ReplaceableAttribute("Year", "2002", true)));
sampleData.add(new ReplaceableItem("Item_05").withAttributes(
new ReplaceableAttribute("Category", "Car Parts", true),
new ReplaceableAttribute("Subcategory", "Emissions", true),
new ReplaceableAttribute("Name", "O2 Sensor", true),
new ReplaceableAttribute("Make", "Audi", true),
new ReplaceableAttribute("Model", "S4", true),