com.bigdata.rdf.sail.sparql.ast.ASTOperationContainer Maven / Gradle / Ivy
/*
* Copyright Aduna (http://www.aduna-software.com/) (c) 2011.
*
* Licensed under the Aduna BSD-style license.
*/
package com.bigdata.rdf.sail.sparql.ast;
import java.util.List;
/**
* Abstract supertype of {@link ASTQueryContainer} and
* {@link ASTUpdateContainer}
*
* @author Jeen Broekstra
*/
public abstract class ASTOperationContainer extends SimpleNode {
/**
* @param id
*/
public ASTOperationContainer(int id) {
super(id);
}
public ASTOperationContainer(SyntaxTreeBuilder p, int id) {
super(p, id);
}
public ASTBaseDecl getBaseDecl() {
return super.jjtGetChild(ASTBaseDecl.class);
}
public ASTOperation getOperation() {
return super.jjtGetChild(ASTOperation.class);
}
public List getPrefixDeclList() {
return super.jjtGetChildren(ASTPrefixDecl.class);
}
public abstract void setSourceString(String source);
public abstract String getSourceString();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy