1 4 package je.gettingStarted; 5 6 7 public class Inventory { 8 9 private String sku; 10 private String itemName; 11 private String category; 12 private String vendor; 13 private int vendorInventory; 14 private float vendorPrice; 15 16 public void setSku(String data) { 17 sku = data; 18 } 19 20 public void setItemName(String data) { 21 itemName = data; 22 } 23 24 public void setCategory(String data) { 25 category = data; 26 } 27 28 public void setVendorInventory(int data) { 29 vendorInventory = data; 30 } 31 32 public void setVendor(String data) { 33 vendor = data; 34 } 35 36 public void setVendorPrice(float data) { 37 vendorPrice = data; 38 } 39 40 public String getSku() { 41 return sku; 42 } 43 44 public String getItemName() { 45 return itemName; 46 } 47 48 public String getCategory() { 49 return category; 50 } 51 52 public int getVendorInventory() { 53 return vendorInventory; 54 } 55 56 public String getVendor() { 57 return vendor; 58 } 59 60 public float getVendorPrice() { 61 return vendorPrice; 62 } 63 } 64 65 | Popular Tags |