%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
com.workingdogs.village.Enums |
|
|
1 | package com.workingdogs.village; |
|
2 | ||
3 | /* |
|
4 | * Licensed to the Apache Software Foundation (ASF) under one |
|
5 | * or more contributor license agreements. See the NOTICE file |
|
6 | * distributed with this work for additional information |
|
7 | * regarding copyright ownership. The ASF licenses this file |
|
8 | * to you under the Apache License, Version 2.0 (the |
|
9 | * "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 | /** |
|
31 | * Doesn't do anything |
|
32 | */ |
|
33 | Enums() |
|
34 | 0 | { |
35 | 0 | } |
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 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |