KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > jofti > parser > PredicateNode


1 /*
2  * Created on 17-Jul-2005
3  *
4  * TODO To change the template for this generated file go to
5  * Window - Preferences - Java - Code Style - Code Templates
6  */

7 package com.jofti.parser;
8
9 /**
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     
27     
28     public Predicate getPredicate() {
29         return predicate;
30     }
31     public void setPredicate(Predicate predicate) {
32         this.predicate = predicate;
33     }
34     public PredicateNode getRightNode() {
35         return rightNode;
36     }
37     public void setRightNode(PredicateNode rightNode) {
38         this.rightNode = rightNode;
39     }
40     public PredicateNode getLeftNode() {
41         return leftNode;
42     }
43     public void setLeftNode(PredicateNode leftNode) {
44         this.leftNode = leftNode;
45     }
46     public int getLeftOperatorType() {
47         return leftOperatorType;
48     }
49     public void setLeftOperatorType(int leftOperatorType) {
50         this.leftOperatorType = leftOperatorType;
51     }
52     public int getRightOperatorType() {
53         return rightOperatorType;
54     }
55     public void setRightOperatorType(int rightOperatorType) {
56         this.rightOperatorType = rightOperatorType;
57     }
58 }
59
Popular Tags