org.topbraid.spin.util
Class QueryWrapper

java.lang.Object
  extended by org.topbraid.spin.util.CommandWrapper
      extended by org.topbraid.spin.util.QueryWrapper

public class QueryWrapper
extends CommandWrapper

A CommandWrapper that wraps a SPARQL query (in contrast to UpdateWrapper for UPDATE requests).

Author:
Holger Knublauch

Constructor Summary
QueryWrapper(com.hp.hpl.jena.query.Query query, com.hp.hpl.jena.rdf.model.Resource source, String text, Query spinQuery, String label, com.hp.hpl.jena.rdf.model.Statement statement, boolean thisUnbound)
           
 
Method Summary
 com.hp.hpl.jena.query.Query getQuery()
           
 Command getSPINCommand()
           
 Query getSPINQuery()
           
 
Methods inherited from class org.topbraid.spin.util.CommandWrapper
getLabel, getSource, getStatement, getText, isThisUnbound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryWrapper

public QueryWrapper(com.hp.hpl.jena.query.Query query,
                    com.hp.hpl.jena.rdf.model.Resource source,
                    String text,
                    Query spinQuery,
                    String label,
                    com.hp.hpl.jena.rdf.model.Statement statement,
                    boolean thisUnbound)
Method Detail

getQuery

public com.hp.hpl.jena.query.Query getQuery()

getSPINCommand

public Command getSPINCommand()
Specified by:
getSPINCommand in class CommandWrapper

getSPINQuery

public Query getSPINQuery()


Copyright © 2011 TopQuadrant, Inc.. All Rights Reserved.