01: package org.concern.controller;
02:
03: public class DummyEvent extends AbstractEvent {
04: public DummyEvent() {
05: }
06:
07: public DummyEvent(String name) {
08: super (name);
09: }
10:
11: public boolean checkPostcondition(Object subject) {
12: return true;
13: }
14:
15: public void occured(Object subject)
16: throws ActivityExecutionException {
17: System.out.println("occured " + getName() + " on " + subject);
18: }
19:
20: Integer dummy;
21:
22: public void setDummy(Integer dummy) {
23: this .dummy = dummy;
24: }
25:
26: public Integer getDummy() {
27: return dummy;
28: }
29: }
|