|
CoCoME TestDriver for Reference Implementation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.cocome.tradingsystem.testdriver.Enterprise
public class Enterprise
Glue code for the entire enterprice (i.e. the database).
| Field Summary | |
|---|---|
private org.cocome.tradingsystem.inventory.data.enterprise.TradingEnterprise |
dbEnterprise
The DB representation of the enterprise. |
private org.cocome.tradingsystem.inventory.data.enterprise.ProductSupplier |
defaultSupplier
The supplier used for all products. |
| Constructor Summary | |
|---|---|
Enterprise()
Create the enterprise. |
|
| Method Summary | |
|---|---|
org.cocome.tradingsystem.systests.interfaces.IProduct |
createProduct(int barcode,
int purchasePrice,
java.lang.String name)
|
boolean |
existsProductTransfer(org.cocome.tradingsystem.systests.interfaces.IProduct product,
org.cocome.tradingsystem.systests.interfaces.IStorePC storeFrom,
org.cocome.tradingsystem.systests.interfaces.IStorePC storeTo)
|
org.cocome.tradingsystem.inventory.data.enterprise.TradingEnterprise |
getDBEnterprise()
Returns the enterprise DB object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final org.cocome.tradingsystem.inventory.data.enterprise.TradingEnterprise dbEnterprise
private final org.cocome.tradingsystem.inventory.data.enterprise.ProductSupplier defaultSupplier
| Constructor Detail |
|---|
public Enterprise()
| Method Detail |
|---|
public org.cocome.tradingsystem.systests.interfaces.IProduct createProduct(int barcode,
int purchasePrice,
java.lang.String name)
createProduct in interface org.cocome.tradingsystem.systests.interfaces.IEnterprisepublic org.cocome.tradingsystem.inventory.data.enterprise.TradingEnterprise getDBEnterprise()
public boolean existsProductTransfer(org.cocome.tradingsystem.systests.interfaces.IProduct product,
org.cocome.tradingsystem.systests.interfaces.IStorePC storeFrom,
org.cocome.tradingsystem.systests.interfaces.IStorePC storeTo)
existsProductTransfer in interface org.cocome.tradingsystem.systests.interfaces.IEnterprise
|
CoCoME TestDriver for Reference Implementation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||