01: /*
02: * Created on 17-Jul-2005
03: *
04: * TODO To change the template for this generated file go to
05: * Window - Preferences - Java - Code Style - Code Templates
06: */
07: package com.jofti.parser;
08:
09: /**
10: * @author xenephon (xenephon@jofti.com)
11: *
12: */
13: public class PredicateNode {
14:
15: private PredicateNode rightNode;
16:
17: private int rightOperatorType;
18:
19: private Predicate predicate;
20:
21: // these are internal operators that specify a group
22: private int leftOperatorType;
23:
24: PredicateNode leftNode;
25:
26: public Predicate getPredicate() {
27: return predicate;
28: }
29:
30: public void setPredicate(Predicate predicate) {
31: this .predicate = predicate;
32: }
33:
34: public PredicateNode getRightNode() {
35: return rightNode;
36: }
37:
38: public void setRightNode(PredicateNode rightNode) {
39: this .rightNode = rightNode;
40: }
41:
42: public PredicateNode getLeftNode() {
43: return leftNode;
44: }
45:
46: public void setLeftNode(PredicateNode leftNode) {
47: this .leftNode = leftNode;
48: }
49:
50: public int getLeftOperatorType() {
51: return leftOperatorType;
52: }
53:
54: public void setLeftOperatorType(int leftOperatorType) {
55: this .leftOperatorType = leftOperatorType;
56: }
57:
58: public int getRightOperatorType() {
59: return rightOperatorType;
60: }
61:
62: public void setRightOperatorType(int rightOperatorType) {
63: this.rightOperatorType = rightOperatorType;
64: }
65: }
|