|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gscg.experiment.Products
Products contains all the products to be used in the game.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software is proprietary information of Delft University of Technology.
Constructor Summary | |
protected |
Products()
constructs a new Products |
Method Summary | |
static boolean |
addProduct(nl.tudelft.simulation.supplychain.product.Product product)
Method addProduct adds a product to the collection of produdcts to be used. |
static nl.tudelft.simulation.supplychain.product.Product |
getProduct(java.lang.String name)
Method getProduct returns a product based on its name |
static nl.tudelft.simulation.supplychain.product.Product[] |
getProductsArray()
Method getProductsArray returns an array of the products. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Products()
Method Detail |
public static boolean addProduct(nl.tudelft.simulation.supplychain.product.Product product)
product
- the product to add
public static nl.tudelft.simulation.supplychain.product.Product getProduct(java.lang.String name)
name
- the name of the product to get
public static nl.tudelft.simulation.supplychain.product.Product[] getProductsArray()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |