MCPcopy Create free account
hub / github.com/Nemo1870/sql-parse / Expression

Class Expression

src/main/java/com/sql/parse/model/Expression.java:9–40  ·  view source on GitHub ↗

@date 2022/7/6 16:59 @desc 表达式

Source from the content-addressed store, hash-verified

7 * @desc 表达式
8 */
9public class Expression {
10 private boolean disable = false;
11
12 private OperatorTypeEnum type;
13
14 private String expression;
15
16 public Expression(String expression, OperatorTypeEnum type) {
17 this.type = type;
18 this.expression = expression;
19 }
20
21 public boolean isDisable() {
22 return disable;
23 }
24
25 public void setDisable(boolean disable) {
26 this.disable = disable;
27 }
28
29 public OperatorTypeEnum getType() {
30 return type;
31 }
32
33 public String getExpression() {
34 return expression;
35 }
36
37 public void setExpression(String expression) {
38 this.expression = expression;
39 }
40}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected