Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

Inventory.java

00001 // File: Inventory.java
00002 
00003 package db.GettingStarted;
00004 
00005 public class Inventory {
00006 
00007     private String sku;
00008     private String itemName;
00009     private String category;
00010     private String vendor;
00011     private int vendorInventory;
00012     private float vendorPrice;
00013 
00014     public void setSku(String data) {
00015         sku = data;
00016     }
00017 
00018     public void setItemName(String data) {
00019         itemName = data;
00020     }
00021 
00022     public void setCategory(String data) {
00023         category = data;
00024     }
00025 
00026     public void setVendorInventory(int data) {
00027         vendorInventory = data;
00028     }
00029 
00030     public void setVendor(String data) {
00031         vendor = data;
00032     }
00033 
00034     public void setVendorPrice(float data) {
00035         vendorPrice = data;
00036     }
00037 
00038     public String getSku() {
00039         return sku;
00040     }
00041 
00042     public String getItemName() {
00043         return itemName;
00044     }
00045 
00046     public String getCategory() {
00047         return category;
00048     }
00049 
00050     public int getVendorInventory() {
00051         return vendorInventory;
00052     }
00053 
00054     public String getVendor() {
00055         return vendor;
00056     }
00057 
00058     public float getVendorPrice() {
00059         return vendorPrice;
00060     }
00061 }
00062 

Generated on Sun Dec 25 12:14:27 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2