|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--test.ojb.broker.CdArticle
Constructor Summary | |
CdArticle()
Insert the method's description here. |
|
CdArticle(int artId,
java.lang.String artName,
int suppId,
int pgId,
java.lang.String uni,
double pric,
int sto,
int ordUnits,
int minStock,
int isSellout,
java.lang.String pLabelname,
java.lang.String pMusicians)
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 |
getIsSelloutArticle()
Insert the method's description here. |
int |
getMinimumStock()
Insert the method's description here. |
int |
getOrderedUnits()
Insert the method's description here. |
double |
getPrice()
Insert the method's description here. |
InterfaceProductGroup |
getProductGroup()
|
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 |
setIsSelloutArticle(int newIsSelloutArticle)
Insert the method's description here. |
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 |
setProductGroup(InterfaceProductGroup newProductGroup)
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. |
java.lang.String |
toString()
return a string representaion of an article |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CdArticle()
public CdArticle(int artId, java.lang.String artName, int suppId, int pgId, java.lang.String uni, double pric, int sto, int ordUnits, int minStock, int isSellout, java.lang.String pLabelname, java.lang.String pMusicians)
Method Detail |
public java.lang.String toString()
toString
in interface InterfaceArticle
toString
in class java.lang.Object
public void addToStock(int diff)
addToStock
in interface InterfaceArticle
public int getArticleId()
getArticleId
in interface InterfaceArticle
public java.lang.String getArticleName()
getArticleName
in interface InterfaceArticle
public double getStockValue()
getStockValue
in interface InterfaceArticle
public void setArticleId(int newArticleId)
setArticleId
in interface InterfaceArticle
newArticleId
- intpublic void setArticleName(java.lang.String newArticleName)
setArticleName
in interface InterfaceArticle
newArticleName
- java.lang.Stringpublic int getIsSelloutArticle()
public int getMinimumStock()
public int getOrderedUnits()
public double getPrice()
public InterfaceProductGroup getProductGroup()
getProductGroup
in interface InterfaceArticle
public int getProductGroupId()
public int getStock()
public int getSupplierId()
public java.lang.String getUnit()
public void setIsSelloutArticle(int newIsSelloutArticle)
newIsSelloutArticle
- intpublic void setMinimumStock(int newMinimumStock)
newMinimumStock
- intpublic void setOrderedUnits(int newOrderedUnits)
newOrderedUnits
- intpublic void setPrice(double newPrice)
newPrice
- doublepublic void setProductGroup(InterfaceProductGroup newProductGroup)
newProductGroup
- TestThreadsNLocks.ojb.broker.InterfaceProductGrouppublic 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 |