View Javadoc

1   /*
2    * @(#)Retailer.java Mar 3, 2004
3    * 
4    * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
5    * Delft, the Netherlands. All rights reserved.
6    * 
7    * See for project information <a href="http://www.simulation.tudelft.nl/">
8    * www.simulation.tudelft.nl </a>.
9    * 
10   * The source code and binary code of this software is proprietary information
11   * of Delft University of Technology.
12   */
13  
14  package nl.tudelft.simulation.supplychain.reference;
15  
16  import javax.vecmath.Point3d;
17  
18  import nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface;
19  import nl.tudelft.simulation.supplychain.actor.Trader;
20  import nl.tudelft.simulation.supplychain.banking.Bank;
21  import nl.tudelft.simulation.supplychain.product.Product;
22  import nl.tudelft.simulation.supplychain.roles.Role;
23  
24  /***
25   * <br>
26   * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
27   * Delft, the Netherlands. All rights reserved.
28   * 
29   * See for project information <a href="http://www.simulation.tudelft.nl/">
30   * www.simulation.tudelft.nl </a>.
31   * 
32   * The source code and binary code of this software is proprietary information
33   * of Delft University of Technology.
34   * 
35   * @author <a href="http://www.tbm.tudelft.nl/webstaf/peterja/index.htm">Peter
36   *         Jacobs </a>, <a
37   *         href="http://www.tbm.tudelft.nl/webstaf/alexandv/index.htm">Alexander
38   *         Verbraeck </a>
39   * @version $$Revision: 1.4 $$ $$Date: 2005/05/03 18:53:29 $$
40   */
41  public class Retailer extends Trader
42  {
43  	/*** the serial version uid */
44  	private static final long serialVersionUID = 12L;
45  
46  	/***
47  	 * @param name the name of the retailer
48  	 * @param simulator the simulator to use
49  	 * @param position the position on the map
50  	 * @param roles the initial roles (if any)
51  	 * @param bank the bank
52  	 */
53  	public Retailer(final String name, final DEVSSimulatorInterface simulator,
54  			final Point3d position, final Role[] roles, final Bank bank)
55  	{
56  		this(name, simulator, position, roles, bank, 0.0);
57  	}
58  
59  	/***
60  	 * @param name the name of the retailer
61  	 * @param simulator the simulator to use
62  	 * @param position the position on the map
63  	 * @param roles the initial roles (if any)
64  	 * @param bank the bank
65  	 * @param initialBankAccount the initial bank balance
66  	 */
67  	public Retailer(final String name, final DEVSSimulatorInterface simulator,
68  			final Point3d position, final Role[] roles, final Bank bank,
69  			final double initialBankAccount)
70  	{
71  		super(name, simulator, position, roles, bank, initialBankAccount);
72  	}
73  
74  	/***
75  	 * @see nl.tudelft.simulation.supplychain.actor.Trader#checkStock(nl.tudelft.simulation.supplychain.product.Product)
76  	 */
77  	public void checkStock(final Product product)
78  	{
79  		// TODO: to implement...
80  	}
81  }