vishnu.parser.statements
Class MultipleAbstractStatement

java.lang.Object
  extended by vishnu.parser.statements.MultipleAbstractStatement
All Implemented Interfaces:
SQLStatement
Direct Known Subclasses:
MultipleDeleteStatement, MultipleInsertStatement, MultipleUpdateStatement

public abstract class MultipleAbstractStatement
extends java.lang.Object
implements SQLStatement

 

Field Summary
protected  SelectStatement selectStatement
           
protected  java.lang.String tableName
           
 
Constructor Summary
MultipleAbstractStatement(java.lang.String name, SelectStatement statement)
           
 
Method Summary
abstract  StatementPerformer getPerformer()
           
 SelectStatement getSelectStatement()
          retorna el comando SELECT a usar.
 java.lang.String getTableName()
          retorna el nombre de tabla sobre la que hay que aplicar el INSERT.
 boolean isQuery()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tableName

protected java.lang.String tableName

selectStatement

protected SelectStatement selectStatement
Constructor Detail

MultipleAbstractStatement

public MultipleAbstractStatement(java.lang.String name,
                                 SelectStatement statement)
Method Detail

getSelectStatement

public SelectStatement getSelectStatement()
retorna el comando SELECT a usar.


getTableName

public java.lang.String getTableName()
retorna el nombre de tabla sobre la que hay que aplicar el INSERT.


getPerformer

public abstract StatementPerformer getPerformer()
Specified by:
getPerformer in interface SQLStatement

isQuery

public boolean isQuery()
Specified by:
isQuery in interface SQLStatement