1 /*
2 * PROJECT : DAR Runtime and Tools
3 * COPYRIGHT : Copyright (C) 1999-2004 tim.stephenson@enableit.org
4 * LICENSE : GNU LESSER GENERAL PUBLIC LICENSE
5 * Version 2.1, February 1999
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */
21 package org.enableit.db.darrt;
22
23
24 /*** @author default */
25 public class DarrtEvent {
26 public static final int START_SCHEMA_DIFF = 1;
27 public static final int DIFFERENCE = 2;
28 public static final int END_SCHEMA_DIFF = 3;
29 public static final int START_ALTER_SCHEMA = 4;
30 public static final int SCHEMA_MODIFICATION = 5;
31 public static final int END_ALTER_SCHEMA = 6;
32 private int eventId;
33 private Object eventBean;
34
35 public DarrtEvent() {
36 // TODO : implement
37 }
38
39 /*** @param eventId */
40 public DarrtEvent(int eventId, Object eventBean) {
41 this.eventId = eventId;
42 this.eventBean = eventBean;
43 }
44
45 public int getEventId() {
46 return eventId;
47 }
48
49 /*** @param newEventId */
50 public void setEventId(int newEventId) {
51 this.eventId = newEventId;
52 }
53
54 public Object getEventBean() {
55 return eventBean;
56 }
57
58 /*** @param newEventBean */
59 public void setEventBean(Object newEventBean) {
60 this.eventBean = newEventBean;
61 }
62 }
This page was automatically generated by Maven