KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > sql99 > dql > common > Operators


1 package com.daffodilwoods.daffodildb.server.sql99.dql.common;
2
3 import com.daffodilwoods.database.utility.*;
4
5 /**
6  * It represents the constants for the operators involved in condition.
7  * <p>Title: </p>
8  * <p>Description: </p>
9  * <p>Copyright: Copyright (c) 2003</p>
10  * <p>Company: </p>
11  * @author unascribed
12  * @version 1.0
13  */

14
15 public class Operators implements IntegerPool {
16
17    /**
18     * Represents 'equals to' operator of condition.
19     */

20
21    public static final Integer JavaDoc EQUALTO = new Integer JavaDoc(1);
22
23    /**
24     * Represents 'greater than' operator of condition.
25     */

26
27    public static final Integer JavaDoc GREATERTHAN = new Integer JavaDoc(2);
28
29    /**
30     * Represents 'less than' operator of condition.
31     */

32
33    public static final Integer JavaDoc LESSTHAN = new Integer JavaDoc(3);
34
35    /**
36     * Represents 'greater than and equals to' operator of condition.
37     */

38
39    public static final Integer JavaDoc GREATERTHANEQUALTO = new Integer JavaDoc(4);
40
41    /**
42     * Represents 'less than and equals to' operator of condition.
43     */

44
45    public static final Integer JavaDoc LESSTHANEQUALTO = new Integer JavaDoc(5);
46
47    /**
48     * Represents 'not equals to' operator of condition.
49     */

50
51    public static final Integer JavaDoc NOTEQUALTO = new Integer JavaDoc(6);
52
53    /**
54     * Represents 'in' operator of condition.
55     */

56
57    public static final Integer JavaDoc IN = new Integer JavaDoc(7);
58
59    /**
60     * Represents 'not in' operator of condition.
61     */

62
63    public static final Integer JavaDoc NOTIN = new Integer JavaDoc(8);
64
65    /**
66     * Represents 'And' operator of condition.
67     */

68
69    public static final Integer JavaDoc AND = new Integer JavaDoc(9);
70
71    /**
72     * Represents 'Or' operator of condition.
73     */

74
75    public static final Integer JavaDoc OR = new Integer JavaDoc(10);
76 }
77
Popular Tags