|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cocome.tradingsystem.inventory.application.store.ProductAmountTO
public class ProductAmountTO
Simple struct for product / amount.
Required for UC 8
Constructor Summary | |
---|---|
ProductAmountTO()
Initializes the amount to "0". |
Method Summary | |
---|---|
long |
getAmount()
Amount of product. |
ProductTO |
getProduct()
Product |
void |
setAmount(long amount)
Amount of product. |
void |
setProduct(ProductTO product)
Product |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProductAmountTO()
Method Detail |
---|
public long getAmount()
public void setAmount(long amount)
amount
- New amount.public ProductTO getProduct()
public void setProduct(ProductTO product)
product
- a product to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |