View Javadoc

1   /*
2    * @(#)InteractiveRequestForQuoteHandler.java Jul 11, 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  package org.gscg.singleuser.handlers;
14  
15  import java.io.Serializable;
16  
17  import nl.tudelft.simulation.supplychain.actor.SupplyChainActor;
18  import nl.tudelft.simulation.supplychain.content.RequestForQuote;
19  import nl.tudelft.simulation.supplychain.handlers.SupplyChainHandler;
20  
21  /***
22   * <br>
23   * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
24   * Delft, the Netherlands. All rights reserved.
25   * 
26   * See for project information <a href="http://www.simulation.tudelft.nl/">
27   * www.simulation.tudelft.nl </a>.
28   * 
29   * The source code and binary code of this software is proprietary information
30   * of Delft University of Technology.
31   * 
32   * @author <a
33   *         href="http://www.tbm.tudelft.nl/webstaf/alexandv/index.htm">Alexander
34   *         Verbraeck </a>
35   * @version $Revision: 1.1 $ $Date: 2005/06/16 12:33:56 $
36   * @since 1.0.0
37   */
38  public class InteractiveRequestForQuoteHandler extends SupplyChainHandler
39  {
40  	/*** the serial version uid */
41  	private static final long serialVersionUID = 11L;
42  
43  	/***
44  	 * Constructor of the empty interactive QuoteHandler
45  	 * 
46  	 * @param owner the actor for this QuoteHandler.
47  	 */
48  	public InteractiveRequestForQuoteHandler(final SupplyChainActor owner)
49  	{
50  		super(owner);
51  	}
52  
53  	/***
54  	 * @see nl.tudelft.simulation.supplychain.handlers.SupplyChainHandler#checkContentClass(java.io.Serializable)
55  	 */
56  	protected boolean checkContentClass(final Serializable content)
57  	{
58  		return (content instanceof RequestForQuote);
59  	}
60  
61  	/***
62  	 * @see nl.tudelft.simulation.content.HandlerInterface#handleContent(java.io.Serializable)
63  	 */
64  	public boolean handleContent(final Serializable content)
65  	{
66  		return true;
67  	}
68  }