01: /* Generated By:JJTree: Do not edit this line. ASTDatasetClause.java */
02:
03: package org.openrdf.query.parser.sparql.ast;
04:
05: public class ASTDatasetClause extends SimpleNode {
06:
07: private boolean named;
08:
09: public ASTDatasetClause(int id) {
10: super (id);
11: }
12:
13: public ASTDatasetClause(SyntaxTreeBuilder p, int id) {
14: super (p, id);
15: }
16:
17: @Override
18: public Object jjtAccept(SyntaxTreeBuilderVisitor visitor,
19: Object data) throws VisitorException {
20: return visitor.visit(this , data);
21: }
22:
23: public boolean isNamed() {
24: return named;
25: }
26:
27: public void setNamed(boolean named) {
28: this .named = named;
29: }
30:
31: @Override
32: public String toString() {
33: return super .toString() + " (named=" + named + ")";
34: }
35: }
|