Modifier and Type | Class and Description |
---|---|
class |
Fresh
This class encapsulates a fresh item.
|
Modifier and Type | Method and Description |
---|---|
Item |
Trx.getItem()
Determine the item of
this transaction |
Modifier and Type | Method and Description |
---|---|
java.util.Map<Item,java.lang.Double> |
Supplier.getCatalog()
Determine the catalog
this supplier. |
java.util.Map<java.lang.String,Item> |
AbstractFoods.getInventory()
Determine the inventory map of
this company |
Modifier and Type | Method and Description |
---|---|
int |
Item.compareTo(Item other)
Compares this object with the specified object for order.
|
Modifier and Type | Method and Description |
---|---|
void |
Supplier.setCatalog(java.util.Map<Item,java.lang.Double> catalog)
Set the catalog of
this supplier to the passed one. |
Constructor and Description |
---|
Trx(java.util.Date date,
java.lang.String code,
java.lang.String ref,
Contact contact,
Item item,
int qty,
double amount)
Construct a transaction having the passed fields.
|
Constructor and Description |
---|
AbstractFoods(java.util.Map<java.lang.String,Item> inventory,
java.util.Map<java.lang.String,Contact> contacts,
java.util.List<Trx> journal)
Construct a company having the passed collections.
|
Supplier(java.lang.String name,
java.lang.String address,
java.util.Map<Item,java.lang.Double> catalog)
Construct a supplier having the indicated name, address, and catalog, and
assign a unique number to it.
|