1
2
3
4
5
6
7 package nl.tudelft.simulation.event;
8
9 /***
10 * The EventProducerParent is an event producer used in JUNIT tests.
11 * <p>
12 * (c) copyright 2002-2005-2004 <a href="http://www.simulation.tudelft.nl">Delft
13 * University of Technology </a>, the Netherlands. <br>
14 * See for project information <a
15 * href="http://www.simulation.tudelft.nl">www.simulation.tudelft.nl </a> <br>
16 * License of use: <a href="http://www.gnu.org/copyleft/lesser.html">Lesser
17 * General Public License (LGPL) </a>, no warranty.
18 *
19 * @author <a href="http://www.peter-jacobs.com">Peter Jacobs </a>
20 * @version $Revision: 1.7 $ $Date: 2005/08/04 12:08:32 $
21 * @since 1.5
22 */
23 public class EventProducerParent extends EventProducerChild
24 {
25 /*** event_c is merely a test event */
26 public static final EventType EVENT_C = new EventType("EVENT_C");
27
28 /*** event_d is merely a test event */
29 protected static EventType eventD = new EventType("EVENT_D");
30
31 /*** event_e is merely a test event */
32 public static final EventType EVENT_E = new EventType("EVENT_E");
33
34 /***
35 * constructs a new EventProducerChild
36 */
37 public EventProducerParent()
38 {
39 super();
40 }
41
42 /***
43 * @see nl.tudelft.simulation.event.EventProducer
44 * #fireEvent(nl.tudelft.simulation.event.EventInterface)
45 */
46 @Override
47 public EventInterface fireEvent(final EventInterface event)
48 {
49 return super.fireEvent(event);
50 }
51 }