|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--test.ojb.broker.PerformanceArticle
Field Summary | |
protected int |
articleId
maps to db-column "Artikel-Nr";INT;PrimaryKey |
protected java.lang.String |
articleName
maps to db-column Artikelname;CHAR |
protected int |
minimumStock
maps to db-column Mindestbestand;INT |
protected int |
orderedUnits
maps to db-column BestellteEinheiten;INT |
protected double |
price
maps to db-column Einzelpreis;DECIMAL |
protected int |
productGroupId
maps to db-column Kategorie-Nr;INT |
protected int |
stock
maps to db-column Lagerbestand;INT |
protected int |
supplierId
maps to db-column Lieferanten-Nr;INT |
protected java.lang.String |
unit
maps to db-column Liefereinheit;CHAR |
Constructor Summary | |
PerformanceArticle()
Insert the method's description here. |
|
PerformanceArticle(int artId,
java.lang.String artName,
int suppId,
int pgId,
java.lang.String uni,
double pric,
int sto,
int ordUnits,
int minStock)
Insert the method's description here. |
Method Summary | |
void |
addToStock(int diff)
increase the amount of articles in stock by diff |
int |
getArticleId()
return an articles unique id. |
java.lang.String |
getArticleName()
return an articles name. |
int |
getMinimumStock()
Insert the method's description here. |
int |
getOrderedUnits()
Insert the method's description here. |
double |
getPrice()
Insert the method's description here. |
int |
getProductGroupId()
Insert the method's description here. |
int |
getStock()
Insert the method's description here. |
double |
getStockValue()
return an articles ProductGroup |
int |
getSupplierId()
Insert the method's description here. |
java.lang.String |
getUnit()
Insert the method's description here. |
void |
setArticleId(int newArticleId)
set an articles unique id. |
void |
setArticleName(java.lang.String newArticleName)
set an articles name. |
void |
setMinimumStock(int newMinimumStock)
Insert the method's description here. |
void |
setOrderedUnits(int newOrderedUnits)
Insert the method's description here. |
void |
setPrice(double newPrice)
Insert the method's description here. |
void |
setProductGroupId(int newProductGroupId)
Insert the method's description here. |
void |
setStock(int newStock)
Insert the method's description here. |
void |
setSupplierId(int newSupplierId)
Insert the method's description here. |
void |
setUnit(java.lang.String newUnit)
Insert the method's description here. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int articleId
protected java.lang.String articleName
protected int minimumStock
protected int orderedUnits
protected double price
protected int productGroupId
protected int stock
protected int supplierId
protected java.lang.String unit
Constructor Detail |
public PerformanceArticle()
public PerformanceArticle(int artId, java.lang.String artName, int suppId, int pgId, java.lang.String uni, double pric, int sto, int ordUnits, int minStock)
Method Detail |
public void addToStock(int diff)
public int getArticleId()
public java.lang.String getArticleName()
public double getStockValue()
public void setArticleId(int newArticleId)
newArticleId
- intpublic void setArticleName(java.lang.String newArticleName)
newArticleName
- java.lang.Stringpublic int getMinimumStock()
public int getOrderedUnits()
public double getPrice()
public int getProductGroupId()
public int getStock()
public int getSupplierId()
public java.lang.String getUnit()
public void setMinimumStock(int newMinimumStock)
newMinimumStock
- intpublic void setOrderedUnits(int newOrderedUnits)
newOrderedUnits
- intpublic void setPrice(double newPrice)
newPrice
- doublepublic void setProductGroupId(int newProductGroupId)
newProductGroupId
- intpublic void setStock(int newStock)
newStock
- intpublic void setSupplierId(int newSupplierId)
newSupplierId
- intpublic void setUnit(java.lang.String newUnit)
newUnit
- java.lang.String
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |