View Javadoc

1   /*
2    * @(#) ProductionStartedData.java Aug 9, 2005
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 are proprietary information
11   * of Delft University of Technology.
12   */
13  package org.gscg.singleuser.interactionlayer.dataobjects;
14  
15  import java.io.Serializable;
16  
17  import nl.tudelft.simulation.supplychain.content.ProductionOrder;
18  
19  /***
20   * Contains the production order as well as the expected production end date.
21   * <p>
22   * (c) copyright 2005 <a href="http://www.simulation.tudelft.nl">Delft
23   * University of Technology </a>, the Netherlands. <br>
24   * See for project information <a
25   * href="http://www.simulation.tudelft.nl">www.simulation.tudelft.nl </a> <br>
26   * 
27   * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
28   * Delft, the Netherlands. All rights reserved.
29   * 
30   * See for project information <a href="http://www.simulation.tudelft.nl/">
31   * www.simulation.tudelft.nl </a>.
32   * 
33   * The source code and binary code of this software are proprietary information
34   * of Delft University of Technology.
35   * 
36   * @author <a
37   *         href="http://www.tbm.tudelft.nl/webstaf/stijnh/index.htm">Stijn-Pieter
38   *         van Houten </a>
39   * @version $Revision: 1.1 $ $Date: 2005/08/09 20:49:45 $
40   * @since 1.1.12
41   */
42  public class ProductionStartedData implements Serializable
43  {
44  	/*** the production order */
45  	private ProductionOrder order = null;
46  
47  	/*** the end date for the production */
48  	private double endDate = Double.NaN;
49  
50  	/***
51  	 * constructs a new ProductionStartedData
52  	 * 
53  	 * @param order the order
54  	 * @param endDate the end date
55  	 */
56  	public ProductionStartedData(final ProductionOrder order,
57  			final double endDate)
58  	{
59  		super();
60  		this.order = order;
61  		this.endDate = endDate;
62  	}
63  
64  	/***
65  	 * Method getEndDate
66  	 * 
67  	 * @return returns the end date
68  	 */
69  	public double getEndDate()
70  	{
71  		return this.endDate;
72  	}
73  
74  	/***
75  	 * Method getOrder
76  	 * 
77  	 * @return returns the order
78  	 */
79  	public ProductionOrder getOrder()
80  	{
81  		return this.order;
82  	}
83  }