01: /*
02: * Created on 18-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: *
11: *
12: * Specifies an operator type used in a predicate clause.<p>
13: *
14: * @author Steve Woodcock (steve@jofti.com)
15: */
16: public class Operator {
17:
18: private int operator;
19:
20: public Operator(int operator) {
21: this .operator = operator;
22: }
23:
24: public synchronized int getOperator() {
25: return operator;
26: }
27:
28: /**
29: * @param operator The operator to set.
30: */
31: public synchronized void setOperator(int operator) {
32: this .operator = operator;
33: }
34:
35: public String toString() {
36: return "operator: " + operator;
37: }
38: }
|