KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > info > magnolia > cms > gui > query > SearchQueryExpression


1 /**
2  *
3  * Magnolia and its source-code is licensed under the LGPL.
4  * You may copy, adapt, and redistribute this file for commercial or non-commercial use.
5  * When copying, adapting, or redistributing this document in keeping with the guidelines above,
6  * you are required to provide proper attribution to obinary.
7  * If you reproduce or distribute the document without making any substantive modifications to its content,
8  * please use the following attribution line:
9  *
10  * Copyright 1993-2006 obinary Ltd. (http://www.obinary.com) All rights reserved.
11  *
12  */

13 package info.magnolia.cms.gui.query;
14
15 /**
16  * @author Sameer Charles $Id: SearchQueryExpression.java 6341 2006-09-12 09:18:27Z philipp $
17  */

18 public interface SearchQueryExpression {
19
20     /**
21      * get left expression
22      * @return object on left
23      */

24     public SearchQueryExpression getLeft();
25
26     /**
27      * set left expression
28      * @param left object on left
29      */

30     public void setleft(SearchQueryExpression left);
31
32     /**
33      * checks if has left
34      * @return true if left object exist
35      */

36     public boolean hasLeft();
37
38     /**
39      * get right expression
40      * @return object on right
41      */

42     public SearchQueryExpression getRight();
43
44     /**
45      * set right expression
46      * @param right object on right
47      */

48     public void setRight(SearchQueryExpression right);
49
50     /**
51      * checks if has right
52      * @return true if right object exist
53      */

54     public boolean hasRight();
55
56     /**
57      * get string representation
58      * @return string representation if this expression
59      */

60     public String JavaDoc toString();
61
62 }
63
Popular Tags