|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--project1.ProductId
|
+--project1.ProductItem
ProductItem Class is used to store a unit product
| Field Summary | |
java.lang.String |
name
|
| Constructor Summary | |
ProductItem()
Constructor |
|
ProductItem(java.lang.String code,
java.lang.String assemblyPos)
Constructor |
|
ProductItem(java.lang.String code,
java.lang.String assemblyPos,
java.lang.String name)
Constructor |
|
ProductItem(java.lang.String code,
java.lang.String assemblyPos,
java.lang.String name,
double amount)
Constructor |
|
| Method Summary | |
void |
changeBegValid(java.util.Date d)
Method |
void |
changeEndValid(java.util.Date d)
Method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.String name
| Constructor Detail |
public ProductItem()
public ProductItem(java.lang.String code,
java.lang.String assemblyPos)
code - code of the productassemblyPos - Assembly Position data of the product
public ProductItem(java.lang.String code,
java.lang.String assemblyPos,
java.lang.String name)
code - code of the productassemblyPos - Assembly Position data of the productname - Name of the product
public ProductItem(java.lang.String code,
java.lang.String assemblyPos,
java.lang.String name,
double amount)
code - code of the productassemblyPos - Assembly Position data of the productname - Name of the productamount - Stock Amount of the product| Method Detail |
public void changeBegValid(java.util.Date d)
d - Sets the beginning validation date of the productpublic void changeEndValid(java.util.Date d)
d - Sets the ending validation date of the product
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||