Skip to content

Method: setChild(SoqlNode)

1: package cz.cvut.kbss.jopa.query.soql;
2:
3: abstract class SoqlNode implements FilterableExpression {
4:
5: SoqlNode parent;
6: SoqlNode child;
7:
8: SoqlNode() {
9: }
10:
11: SoqlNode(SoqlNode parent) {
12: this.parent = parent;
13: }
14:
15: public boolean hasChild() {
16: return child != null;
17: }
18:
19: public SoqlNode getChild() {
20: return child;
21: }
22:
23: public SoqlNode getParent() {
24: return parent;
25: }
26:
27: public void setChild(SoqlNode child) {
28: this.child = child;
29: }
30:
31: public void setParent(SoqlNode parent) {
32: this.parent = parent;
33: }
34:
35: public abstract String getValue();
36:
37: public abstract void setValue(String value);
38:
39: public abstract String getCapitalizedValue();
40:
41: public abstract String getIri();
42:
43: public abstract void setIri(String iri);
44: }