1
2
3
4
5
6
7
8
9
10
11
12
13
14 package org.gscg.singleuser.interactionlayer.dataobjects;
15
16 import java.io.Serializable;
17
18 /***
19 * Contains the data for a produced order on a monthly basis.
20 * <p>
21 * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
22 * Delft, the Netherlands. All rights reserved.
23 *
24 * See for project information <a href="http://www.simulation.tudelft.nl/">
25 * www.simulation.tudelft.nl </a>.
26 *
27 * The source code and binary code of this software is proprietary information
28 * of Delft University of Technology.
29 *
30 * @author <a
31 * href="http://www.tbm.tudelft.nl/webstaf/stijnh/index.htm">Stijn-Pieter
32 * van Houten </a>
33 * @version $Revision: 1.1 $ $Date: 2005/08/09 20:49:45 $
34 * @since 1.0.0
35 */
36 public class ProducedOrderMonthData implements Serializable
37 {
38 /*** the serial version uid */
39 private static final long serialVersionUID = 11L;
40
41 /*** the product name */
42 private String productName = null;
43
44 /*** the month */
45 private int month = 0;
46
47 /*** the amount */
48 private double amount = Double.NaN;
49
50 /***
51 * constructs a new ProducedOrderMonthData
52 *
53 * @param productName the name of the product
54 * @param month the month
55 * @param amount the amount
56 */
57 public ProducedOrderMonthData(final String productName, final int month,
58 final double amount)
59 {
60 super();
61 this.productName = productName;
62 this.month = month;
63 this.amount = amount;
64 }
65
66 /***
67 * @return Returns the amount.
68 */
69 public double getAmount()
70 {
71 return this.amount;
72 }
73
74 /***
75 * @return Returns the month.
76 */
77 public int getMonth()
78 {
79 return this.month;
80 }
81
82 /***
83 * @return Returns the productName.
84 */
85 public String getProductName()
86 {
87 return this.productName;
88 }
89 }