svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.expressionevaluator / org.gvsig.expressionevaluator.lib / org.gvsig.expressionevaluator.lib.api / src / main / java / org / gvsig / expressionevaluator / Expression.java @ 47248
History | View | Annotate | Download (1.23 KB)
1 | 43983 | jjdelcerro | package org.gvsig.expressionevaluator; |
---|---|---|---|
2 | |||
3 | 45425 | jjdelcerro | import org.gvsig.json.SupportJson; |
4 | 45308 | fdiaz | import org.gvsig.tools.evaluator.Evaluator; |
5 | 43983 | jjdelcerro | import org.gvsig.tools.persistence.Persistent; |
6 | |||
7 | /**
|
||
8 | *
|
||
9 | * @author jjdelcerro
|
||
10 | */
|
||
11 | 45425 | jjdelcerro | public interface Expression extends Persistent, Cloneable, SupportJson { |
12 | 43984 | jjdelcerro | public void clear(); |
13 | 43983 | jjdelcerro | |
14 | 44215 | jjdelcerro | /**
|
15 | * This symbol table don't persist with the expression.
|
||
16 | *
|
||
17 | * @return the symbol table of the expression
|
||
18 | */
|
||
19 | public SymbolTable getSymbolTable();
|
||
20 | |||
21 | 43983 | jjdelcerro | public String getPhrase(); |
22 | |||
23 | 44163 | jjdelcerro | public Expression setPhrase(String phrase); |
24 | 44750 | jjdelcerro | |
25 | 43983 | jjdelcerro | public Object execute(SymbolTable symbolTable); |
26 | |||
27 | 44191 | jjdelcerro | public void link(SymbolTable symbolTable); |
28 | |||
29 | 43989 | jjdelcerro | public Code getCode();
|
30 | |||
31 | 45425 | jjdelcerro | @Deprecated
|
32 | 43984 | jjdelcerro | public String toJSON(); |
33 | |||
34 | 45425 | jjdelcerro | @Deprecated
|
35 | 43984 | jjdelcerro | public void fromJSON(String json); |
36 | |||
37 | public Expression clone() throws CloneNotSupportedException; |
||
38 | |||
39 | 44126 | jjdelcerro | public boolean isPhraseEmpty(); |
40 | |||
41 | 44163 | jjdelcerro | public boolean isEmpty(); |
42 | 44191 | jjdelcerro | |
43 | public void setSQLCompatible(boolean sqlCompatible); |
||
44 | |||
45 | public boolean isSQLCompatible(); |
||
46 | 44215 | jjdelcerro | |
47 | public void setUseBracketsForIdentifiers(boolean useBracketsForIdentifiers); |
||
48 | |||
49 | public boolean getUseBracketsForIdentifiers(); |
||
50 | 45308 | fdiaz | |
51 | public Evaluator toEvaluator();
|
||
52 | 43983 | jjdelcerro | } |