org.gscg.experiment
Class Manufacturers

java.lang.Object
  extended byorg.gscg.experiment.Manufacturers

public final class Manufacturers
extends java.lang.Object

Manufacturers contains all the manufacturers 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.

Since:
1.0.0
Version:
$Revision: 1.3 $ $Date: 2005/08/09 15:43:40 $
Author:
Stijn-Pieter van Houten

Constructor Summary
protected Manufacturers()
          constructs a new Manufacturers
 
Method Summary
static boolean addManufacturer(nl.tudelft.simulation.supplychain.reference.Manufacturer manufacturer)
          Method addManufacturer adds a manufacturer to the collection of manufacturers to be used.
static GameManufacturer getManufacturer(java.lang.String name)
          Method getManufacturer returns a GameManufacturer
static GameManufacturer[] getManufacturersArray()
          Method getManufacturersArray returns an array of the manufacturers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Manufacturers

protected Manufacturers()
constructs a new Manufacturers

Method Detail

addManufacturer

public static boolean addManufacturer(nl.tudelft.simulation.supplychain.reference.Manufacturer manufacturer)
Method addManufacturer adds a manufacturer to the collection of manufacturers to be used.

Parameters:
manufacturer - the manufacturer to add
Returns:
returns false if the product could not be added

getManufacturer

public static GameManufacturer getManufacturer(java.lang.String name)
Method getManufacturer returns a GameManufacturer

Parameters:
name - the name of the manufacturer to get
Returns:
returns null if the manufacturer could not be found

getManufacturersArray

public static GameManufacturer[] getManufacturersArray()
Method getManufacturersArray returns an array of the manufacturers.

Returns:
returns an array with manufacturers


Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.