| java.lang.Object org.apache.ojb.broker.ArticleWithStockDetail
Constructor Summary | |
public | ArticleWithStockDetail() Insert the method's description here. | public | ArticleWithStockDetail(int artId, String artName, int suppId, int pgId, String uni, double pric, int sto, int ordUnits, int minStock, boolean isSellout) Insert the method's description here. |
articleId | protected int articleId(Code) | | maps to db-column "Artikel-Nr";INT;PrimaryKey
|
articleName | protected String articleName(Code) | | maps to db-column Artikelname;CHAR
|
isSelloutArticle | boolean isSelloutArticle(Code) | | maps to db-column Auslaufartikel;SMALL INT
|
minimumStock | int minimumStock(Code) | | maps to db-column Mindestbestand;INT
|
orderedUnits | int orderedUnits(Code) | | maps to db-column BestellteEinheiten;INT
|
price | protected double price(Code) | | maps to db-column Einzelpreis;DECIMAL
|
productGroupId | protected int productGroupId(Code) | | maps to db-column Kategorie-Nr;INT
|
stock | int stock(Code) | | maps to db-column Lagerbestand;INT
|
stockDetail | protected StockDetail stockDetail(Code) | | this attribute is not filled through a reference lookup but with a RowReader !
|
supplierId | protected int supplierId(Code) | | maps to db-column Lieferanten-Nr;INT
|
ArticleWithStockDetail | public ArticleWithStockDetail()(Code) | | Insert the method's description here.
Creation date: (05.01.2001 19:31:04)
|
ArticleWithStockDetail | public ArticleWithStockDetail(int artId, String artName, int suppId, int pgId, String uni, double pric, int sto, int ordUnits, int minStock, boolean isSellout)(Code) | | Insert the method's description here.
Creation date: (05.01.2001 19:21:38)
|
addToStock | public void addToStock(int diff)(Code) | | increase the amount of articles in stock by diff
|
getArticleId | public int getArticleId()(Code) | | return an articles unique id.
int the articles unique id |
getArticleName | public String getArticleName()(Code) | | return an articles name.
java.lang.String |
getIsSelloutArticle | public boolean getIsSelloutArticle()(Code) | | Insert the method's description here.
Creation date: (10.12.2000 14:40:04)
boolean |
getMinimumStock | public int getMinimumStock()(Code) | | Insert the method's description here.
Creation date: (10.12.2000 14:40:04)
int |
getOrderedUnits | public int getOrderedUnits()(Code) | | Insert the method's description here.
Creation date: (10.12.2000 14:40:04)
int |
getPrice | public double getPrice()(Code) | | Insert the method's description here.
Creation date: (10.12.2000 14:40:04)
double |
getProductGroupId | public int getProductGroupId()(Code) | | Insert the method's description here.
Creation date: (10.12.2000 14:40:04)
int |
getStock | public int getStock()(Code) | | Gets the stock.
Returns a int |
getStockValue | public double getStockValue()(Code) | | return an articles ProductGroup
|
getSupplierId | public int getSupplierId()(Code) | | Insert the method's description here.
Creation date: (10.12.2000 14:40:04)
int |
getUnit | public String getUnit()(Code) | | Insert the method's description here.
Creation date: (10.12.2000 14:40:04)
java.lang.String |
setArticleId | public void setArticleId(int newArticleId)(Code) | | set an articles unique id.
Parameters: newArticleId - int |
setArticleName | public void setArticleName(String newArticleName)(Code) | | set an articles name.
Parameters: newArticleName - java.lang.String |
setIsSelloutArticle | public void setIsSelloutArticle(boolean newIsSelloutArticle)(Code) | | Insert the method's description here.
Creation date: (10.12.2000 14:40:04)
Parameters: newIsSelloutArticle - int |
setMinimumStock | public void setMinimumStock(int newMinimumStock)(Code) | | Insert the method's description here.
Creation date: (10.12.2000 14:40:04)
Parameters: newMinimumStock - int |
setOrderedUnits | public void setOrderedUnits(int newOrderedUnits)(Code) | | Insert the method's description here.
Creation date: (10.12.2000 14:40:04)
Parameters: newOrderedUnits - int |
setPrice | public void setPrice(double newPrice)(Code) | | Insert the method's description here.
Creation date: (10.12.2000 14:40:04)
Parameters: newPrice - double |
setProductGroupId | public void setProductGroupId(int newProductGroupId)(Code) | | Insert the method's description here.
Creation date: (10.12.2000 14:40:04)
Parameters: newProductGroupId - int |
setStock | public void setStock(int stock)(Code) | | Sets the stock.
Parameters: stock - The stock to set |
setSupplierId | public void setSupplierId(int newSupplierId)(Code) | | Insert the method's description here.
Creation date: (10.12.2000 14:40:04)
Parameters: newSupplierId - int |
setUnit | public void setUnit(String newUnit)(Code) | | Insert the method's description here.
Creation date: (10.12.2000 14:40:04)
Parameters: newUnit - java.lang.String |
toString | public String toString()(Code) | | return a string representation of an article
|
|
|