| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.query.sql.proc.Statement
com.metamatrix.query.sql.proc.CommandStatement
public class CommandStatement
 This class represents a variable assignment statement in the storedprocedure language.
 It extends the Statement that could part of a block.  This statement has
 a command that should be executed as part of the procedure.
| Field Summary | 
|---|
| Fields inherited from class com.metamatrix.query.sql.proc.Statement | 
|---|
TYPE_ASSIGNMENT, TYPE_BREAK, TYPE_COMMAND, TYPE_CONTINUE, TYPE_DECLARE, TYPE_ERROR, TYPE_IF, TYPE_LOOP, TYPE_UNKNOWN, TYPE_WHILE | 
| Constructor Summary | |
|---|---|
CommandStatement()
Constructor for CommandStatement.  | 
|
CommandStatement(Command value)
Constructor for CommandStatement.  | 
|
| Method Summary | |
|---|---|
 void | 
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.  | 
 java.lang.Object | 
clone()
Deep clone statement to produce a new identical statement.  | 
 boolean | 
equals(java.lang.Object obj)
Compare two CommandStatements for equality.  | 
 Command | 
getCommand()
Get the command on this statement.  | 
 int | 
getType()
Return the type for this statement, this is one of the types defined on the statement object.  | 
 int | 
hashCode()
Get hashcode for CommandStatement.  | 
 void | 
setCommand(Command command)
Sets the command.  | 
 java.lang.String | 
toString()
Returns a string representation of an instance of this class.  | 
| Methods inherited from class java.lang.Object | 
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public CommandStatement()
public CommandStatement(Command value)
value - The Command on this statement| Method Detail | 
|---|
public Command getCommand()
getCommand in interface SubqueryContainerCommand on this statementpublic void setCommand(Command command)
setCommand in interface SubqueryContainercommand - the subquery Command objectcom.metamatrix.query.sql.lang.SubqueryLanguageObject#setCommand()public int getType()
getType in class Statementpublic void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor in interface LanguageObjectvisitor - Visitor being usedpublic java.lang.Object clone()
clone in interface LanguageObjectclone in class Statementpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - Other object
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||