View Javadoc

1   /**
2    * $Id$
3    *
4    * =========================================================================
5    *
6    * Copyright 2005 Tubo
7    *
8    *  Licensed under the Apache License, Version 2.0 (the "License");
9    *  you may not use this file except in compliance with the License.
10   *  You may obtain a copy of the License at
11   *
12   *     http://www.apache.org/licenses/LICENSE-2.0
13   *
14   *  Unless required by applicable law or agreed to in writing, software
15   *  distributed under the License is distributed on an "AS IS" BASIS,
16   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   *  See the License for the specific language governing permissions and
18   *  limitations under the License.
19   */
20  package org.tubo.event;
21  
22  //log
23  
24  import org.apache.commons.logging.Log;
25  import org.apache.commons.logging.LogFactory;
26  
27  /**
28   * <p></p>
29   * <p/>
30   * Created: Feb 12, 2007, 5:29:35 PM <br>
31   * Last Modification Date: $Date$
32   * </p>
33   *
34   * @author maldito_orco (maldito_orco@users.sourceforge.net)
35   * @version $Revision$
36   */
37  public class BaseEventImpl implements Event {
38      public static final String RCS_ID = "$Id$";
39      private static Log log = LogFactory.getLog(BaseEventImpl.class);
40  
41      private String action = null;
42      private long when = 0;
43  
44  
45      public String getAction() {
46          return action;
47      }
48  
49      public void setAction(String action) {
50          this.action = action;
51      }
52  
53      public long getWhen() {
54          return when;
55      }
56  
57      public void setWhen(long when) {
58          this.when = when;
59      }
60  }