|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cocome.tradingsystem.inventory.application.store.ProductMovementTO
public class ProductMovementTO
Structure to represent products moved from one store to another. Stores the delivering and target Store and a list of product amounts.
Required for UC 8
Constructor Summary | |
---|---|
ProductMovementTO()
Initializes an empty product list. |
Method Summary | |
---|---|
StoreTO |
getDeliveringStore()
The store that has to deliver the products. |
java.util.Collection<ProductAmountTO> |
getProducts()
A list of product that have to be delivered by the store getDeliveringStore . |
StoreTO |
getTargetStore()
The store that receives the products. |
void |
setDeliveringStore(StoreTO deliveringStore)
The store that has to deliver the products. |
void |
setProducts(java.util.Collection<ProductAmountTO> products)
A list of product that have to be delivered by the store getDeliveringStore . |
void |
setTargetStore(StoreTO targetStore)
The store that receives the products. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProductMovementTO()
Method Detail |
---|
public java.util.Collection<ProductAmountTO> getProducts()
getDeliveringStore
.
public void setProducts(java.util.Collection<ProductAmountTO> products)
getDeliveringStore
.
products
- product listpublic StoreTO getDeliveringStore()
public void setDeliveringStore(StoreTO deliveringStore)
deliveringStore
- Store Identifierpublic StoreTO getTargetStore()
public void setTargetStore(StoreTO targetStore)
targetStore
- set the target store
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |