|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.broker.StockDetail
Field Summary | |
protected boolean |
isSelloutArticle
|
protected int |
minimumStock
|
protected int |
orderedUnits
|
protected int |
stock
|
protected java.lang.String |
unit
|
Constructor Summary | |
StockDetail()
|
|
StockDetail(boolean sellout,
int minimum,
int ordered,
int stock,
java.lang.String unit,
ArticleWithStockDetail parent)
|
Method Summary | |
int |
getMinimumStock()
Returns the minimumStock. |
ArticleWithStockDetail |
getMyArticle()
Returns the myArticle. |
int |
getOrderedUnits()
Returns the orderedUnits. |
int |
getStock()
|
java.lang.String |
getUnit()
Returns the unit. |
boolean |
isSelloutArticle()
Returns the isSelloutArticle. |
void |
setIsSelloutArticle(boolean isSelloutArticle)
Sets the isSelloutArticle. |
void |
setMinimumStock(int minimumStock)
Sets the minimumStock. |
void |
setMyArticle(ArticleWithStockDetail myArticle)
Sets the myArticle. |
void |
setOrderedUnits(int orderedUnits)
Sets the orderedUnits. |
void |
setStock(int newStock)
|
void |
setUnit(java.lang.String unit)
Sets the unit. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected boolean isSelloutArticle
protected int minimumStock
protected int orderedUnits
protected int stock
protected java.lang.String unit
Constructor Detail |
public StockDetail()
public StockDetail(boolean sellout, int minimum, int ordered, int stock, java.lang.String unit, ArticleWithStockDetail parent)
Method Detail |
public int getStock()
public void setStock(int newStock)
public boolean isSelloutArticle()
public int getMinimumStock()
public ArticleWithStockDetail getMyArticle()
public int getOrderedUnits()
public java.lang.String getUnit()
public void setIsSelloutArticle(boolean isSelloutArticle)
isSelloutArticle
- The isSelloutArticle to setpublic void setMinimumStock(int minimumStock)
minimumStock
- The minimumStock to setpublic void setMyArticle(ArticleWithStockDetail myArticle)
myArticle
- The myArticle to setpublic void setOrderedUnits(int orderedUnits)
orderedUnits
- The orderedUnits to setpublic void setUnit(java.lang.String unit)
unit
- The unit to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |