01: /*
02: * Copyright 2005 jWic group (http://www.jwic.de)
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: *
16: * de.jwic.base.Event
17: * Created on 28.08.2005
18: * $Id: Event.java,v 1.2 2006/08/14 09:34:58 lordsam Exp $
19: */
20: package de.jwic.base;
21:
22: import java.io.Serializable;
23:
24: /**
25: * Superclass for events.
26: *
27: * This class replaces the deprecated JWicEvent.
28: *
29: * @author Florian Lippisch
30: * @version $Revision: 1.2 $
31: */
32: public class Event implements Serializable {
33:
34: private static final long serialVersionUID = 1L;
35:
36: private Object eventSource = null;
37:
38: /**
39: * Constructs a new jWic event.
40: * @param sourceControl
41: */
42: public Event(Object eventSource) {
43: this .eventSource = eventSource;
44: }
45:
46: /**
47: * @return Returns the eventSource.
48: */
49: public Object getEventSource() {
50: return eventSource;
51: }
52:
53: }
|