org.cocome.tradingsystem.systests.interfaces
Interface IOrder
public interface IOrder
Interface for an order. It holds just a single simple method for adding
products to this order. Furthermore it is used as a representation for orders
when passing them to other methods (so an implementation might want to
contain a primary key or something analogous).
- Version:
- $Revision: 1.1 $
- Author:
- Christian Pfaller, $Author: hummel $
addOrderItem
void addOrderItem(IProduct product,
int amount)
throws java.lang.Exception
- Adds a item to this order. Further data required (e.g. supplier) should
be filled in by the testdriver.
- Parameters:
product
- the product to order.amount
- amount to order.
- Throws:
java.lang.Exception
CoCoME System Tests - 0.1