| 1 7 package com.jofti.parser; 8 9 13 public class PredicateNode { 14 15 private PredicateNode rightNode; 16 17 private int rightOperatorType; 18 19 private Predicate predicate; 20 21 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 |