Package | Description |
---|---|
casa.auction | |
casa.transaction |
Modifier and Type | Class and Description |
---|---|
class |
Lot |
Constructor and Description |
---|
Lot(Product product,
URLDescriptor url) |
Modifier and Type | Field and Description |
---|---|
(package private) Vector<Product> |
Inventory.inventory |
Modifier and Type | Method and Description |
---|---|
Product |
Inventory.getProduct(Product product)
Retrieves the first instance of this product from the inventory Vector.
|
Product |
Inventory.getProduct(String productName)
Retrieves the first instance of this product from the inventory Vector.
|
Modifier and Type | Method and Description |
---|---|
Vector<Product> |
Inventory.getProducts() |
Modifier and Type | Method and Description |
---|---|
void |
MarketProfile.add(URLDescriptor url,
Product product) |
void |
Inventory.addProduct(Product product) |
URLDescriptor |
MarketProfile.getHighestAgent(Product product)
Return the URL of the agent that will pay the highest price for the product
|
URLDescriptor |
MarketProfile.getLowestAgent(Product product)
Return the URL of the agent that is offering the product for the lowest price
|
Product |
Inventory.getProduct(Product product)
Retrieves the first instance of this product from the inventory Vector.
|
void |
Inventory.removeProduct(Product product)
Removes the first instance of this product (by name only) from the inventory Vector
|
void |
Inventory.update(Product product)
Updates all instances of products that share the same name as the parameter passed
|
void |
Inventory.update(Product product,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
Inventory.setProducts(Vector<Product> products) |