1 package com.workingdogs.village;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 /***
23 * A class for constants.
24 *
25 * @author <a href="mailto:jon@latchkey.com">Jon S. Stevens</a>
26 * @version $Revision: 567 $
27 */
28 public class Enums
29 {
30 /***
31 * Doesn't do anything
32 */
33 Enums()
34 {
35 }
36
37 /*** DataSet record that has been deleted but not removed from the DataSet */
38 public static final int ZOMBIE = 1;
39
40 /*** A record marked for delete */
41 public static final int DELETE = 2;
42
43 /*** A record marked for update */
44 public static final int UPDATE = 3;
45
46 /*** A record marked for insert */
47 public static final int INSERT = 4;
48
49 /*** trigger state before a delete is run */
50 public static final int BEFOREDELETE = 5;
51
52 /*** trigger state after a delete is run */
53 public static final int AFTERDELETE = 6;
54
55 /*** trigger state before a insert is run */
56 public static final int BEFOREINSERT = 7;
57
58 /*** trigger state after a insert is run */
59 public static final int AFTERINSERT = 8;
60
61 /*** trigger state before a update is run */
62 public static final int BEFOREUPDATE = 9;
63
64 /*** trigger state after a update is run */
65 public static final int AFTERUPDATE = 10;
66
67 /*** an unknown type */
68 public static final int UNKNOWN = 11;
69
70 /*** an oracle type */
71 public static final int ORACLE = 12;
72
73 /*** an sybase type */
74 public static final int SYBASE = 13;
75
76 /*** an sqlserver type */
77 public static final int SQLSERVER = 14;
78 }