KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > serversystem > dmlvalidation > constraintsystem > TypeConstant


1 package com.daffodilwoods.daffodildb.server.serversystem.dmlvalidation.constraintsystem;
2
3
4 /**
5  *
6  * <p>Title: </p>
7  * <p>Description: </p>
8  * Class describes all the constraint types , match types, and the case such as SETDEFAULT, RESTRICT
9  * SETNULL and NO_ACTION with their unique integer values.
10  *
11  */

12 public class TypeConstant
13 {
14    public static final int Constraint_Primary = 0;
15    public static final int Constraint_Unique = 1;
16    public static final int Constraint_Referential= 2;
17    public static final int Constraint_Check = 3;
18    public static final int Match_Simple = 4;
19    public static final int Match_Full = 5;
20    public static final int Match_Partial = 6;
21    public static final int CASCADE = 7;
22    public static final int SETNULL = 8;
23    public static final int SETDEFAULT = 9;
24    public static final int RESTRICT = 10;
25    public static final int NO_ACTION = 11;
26 }
27
Popular Tags