directory structure change, organize by class number as opposed to mod number
Signed-off-by: Amrit Panesar <apanesar@4195tech.com>
This commit is contained in:
1 parent
2a3d6fc042
commit
8683384387
480 files changed
+7
No files matched your search
@@ -0,0 +1,80 @@
|
||||
/******************************************************************************
|
||||
* Project: Project 2 *
|
||||
* Class Name: Inventory *
|
||||
* Author: Amrit Panesar -ASP ,o/ *
|
||||
* Last Edited: 10/17/2012 *
|
||||
* Hours: 1.00 Hours *
|
||||
* Purpose: To demonstrate the retention and knowledge of the previous *
|
||||
* mods concepts. *
|
||||
*****************************************************************************/
|
||||
package project2;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Amrit Panesar
|
||||
*/
|
||||
public class Inventory {
|
||||
public int iItemID;
|
||||
public String sItemName;
|
||||
public int iInStore;
|
||||
public double dManuPrice;
|
||||
public double dSellPrice;
|
||||
|
||||
public Inventory() {
|
||||
}
|
||||
|
||||
public Inventory(int iItemID, String sItemName, int iInStore, double dManuPrice, double dSellPrice) {
|
||||
this.iItemID = iItemID;
|
||||
this.sItemName = sItemName;
|
||||
this.iInStore = iInStore;
|
||||
this.dManuPrice = dManuPrice;
|
||||
this.dSellPrice = dSellPrice;
|
||||
}
|
||||
|
||||
public double getdManuPrice() {
|
||||
return dManuPrice;
|
||||
}
|
||||
|
||||
public void setdManuPrice(double dManuPrice) {
|
||||
this.dManuPrice = dManuPrice;
|
||||
}
|
||||
|
||||
public double getdSellPrice() {
|
||||
return dSellPrice;
|
||||
}
|
||||
|
||||
public void setdSellPrice(double dSellPrice) {
|
||||
this.dSellPrice = dSellPrice;
|
||||
}
|
||||
|
||||
public int getiInStore() {
|
||||
return iInStore;
|
||||
}
|
||||
|
||||
public void setiInStore(int iInStore) {
|
||||
this.iInStore = iInStore;
|
||||
}
|
||||
|
||||
public int getiItemID() {
|
||||
return iItemID;
|
||||
}
|
||||
|
||||
public void setiItemID(int iItemID) {
|
||||
this.iItemID = iItemID;
|
||||
}
|
||||
|
||||
public String getsItemName() {
|
||||
return sItemName;
|
||||
}
|
||||
|
||||
public void setsItemName(String sItemName) {
|
||||
this.sItemName = sItemName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return ""+this.getiInStore();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user