01: /*
02: * Copyright 2006 Day Management AG, Switzerland. All rights reserved.
03: */
04: package javax.jcr.query.qom;
05:
06: /**
07: * Defines constants used in the query object model.
08: *
09: * @since JCR 2.0
10: */
11: public interface QueryObjectModelConstants {
12: /**
13: * An inner join.
14: */
15: public static final int JOIN_TYPE_INNER = 101;
16:
17: /**
18: * A left-outer join.
19: */
20: public static final int JOIN_TYPE_LEFT_OUTER = 102;
21:
22: /**
23: * A right-outer join.
24: */
25: public static final int JOIN_TYPE_RIGHT_OUTER = 103;
26:
27: /**
28: * The "<code>=</code>" comparison operator.
29: */
30: public static final int OPERATOR_EQUAL_TO = 201;
31:
32: /**
33: * The "<code>!=</code>" comparison operator.
34: */
35: public static final int OPERATOR_NOT_EQUAL_TO = 202;
36:
37: /**
38: * The "<code><</code>" comparison operator.
39: */
40: public static final int OPERATOR_LESS_THAN = 203;
41:
42: /**
43: * The "<code><=</code>" comparison operator.
44: */
45: public static final int OPERATOR_LESS_THAN_OR_EQUAL_TO = 204;
46:
47: /**
48: * The "<code>></code>" comparison operator.
49: */
50: public static final int OPERATOR_GREATER_THAN = 205;
51:
52: /**
53: * The "<code>>=</code>" comparison operator.
54: */
55: public static final int OPERATOR_GREATER_THAN_OR_EQUAL_TO = 206;
56:
57: /**
58: * The "<code>like</code>" comparison operator.
59: */
60: public static final int OPERATOR_LIKE = 207;
61:
62: /**
63: * Ascending order.
64: */
65: public static final int ORDER_ASCENDING = 301;
66:
67: /**
68: * Descending order.
69: */
70: public static final int ORDER_DESCENDING = 302;
71: }
72:
73: // EOF
|