01: package com.workingdogs.village;
02:
03: /*
04: * Licensed to the Apache Software Foundation (ASF) under one
05: * or more contributor license agreements. See the NOTICE file
06: * distributed with this work for additional information
07: * regarding copyright ownership. The ASF licenses this file
08: * to you under the Apache License, Version 2.0 (the
09: * "License"); you may not use this file except in compliance
10: * with the License. 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,
15: * software distributed under the License is distributed on an
16: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17: * KIND, either express or implied. See the License for the
18: * specific language governing permissions and limitations
19: * under the License.
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: * Doesn't do anything
31: */
32: Enums() {
33: }
34:
35: /** DataSet record that has been deleted but not removed from the DataSet */
36: public static final int ZOMBIE = 1;
37:
38: /** A record marked for delete */
39: public static final int DELETE = 2;
40:
41: /** A record marked for update */
42: public static final int UPDATE = 3;
43:
44: /** A record marked for insert */
45: public static final int INSERT = 4;
46:
47: /** trigger state before a delete is run */
48: public static final int BEFOREDELETE = 5;
49:
50: /** trigger state after a delete is run */
51: public static final int AFTERDELETE = 6;
52:
53: /** trigger state before a insert is run */
54: public static final int BEFOREINSERT = 7;
55:
56: /** trigger state after a insert is run */
57: public static final int AFTERINSERT = 8;
58:
59: /** trigger state before a update is run */
60: public static final int BEFOREUPDATE = 9;
61:
62: /** trigger state after a update is run */
63: public static final int AFTERUPDATE = 10;
64:
65: /** an unknown type */
66: public static final int UNKNOWN = 11;
67:
68: /** an oracle type */
69: public static final int ORACLE = 12;
70:
71: /** an sybase type */
72: public static final int SYBASE = 13;
73:
74: /** an sqlserver type */
75: public static final int SQLSERVER = 14;
76: }
|