|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.dbcore.admin.Command
public class Command
Command class represents a single command interpretable by the db-core through DBCoreInterface.
Constructor Summary | |
---|---|
Command(CommandType commandType)
Constructor with no arguments. |
|
Command(CommandType commandType,
ArgumentVector args)
Constructor with vector of arguments |
|
Command(CommandType commandType,
java.lang.Object argument0)
Constructor with one argument. |
|
Command(CommandType commandType,
java.lang.Object argument0,
java.lang.Object argument1)
Constructor with two arguments. |
|
Command(CommandType commandType,
java.lang.Object argument0,
java.lang.Object argument1,
java.lang.Object argument2)
Constructor with three arguments. |
|
Command(CommandType commandType,
java.lang.Object argument0,
java.lang.Object argument1,
java.lang.Object argument2,
java.lang.Object argument3)
Constructor with four arguments. |
|
Command(CommandType commandType,
java.lang.Object argument0,
java.lang.Object argument1,
java.lang.Object argument2,
java.lang.Object argument3,
java.lang.Object argument4)
Constructor with five arguments. |
Method Summary | |
---|---|
void |
finalize()
|
boolean |
finalized()
|
java.lang.Object |
getArgument(int position)
Retrieve an argument. |
java.lang.Object[] |
getMutableArguments()
|
CommandType |
getType()
Retrieve the type of command. |
Command |
makeCopy()
|
int |
numArgs()
Retrieve the number of arguments. |
java.lang.StringBuffer |
render()
Render the command as text (suitable for reinterpretation by the SCG). |
CommandType |
type()
Returns the command type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Command(CommandType commandType, ArgumentVector args) throws Scheherexception
Scheherexception
public Command(CommandType commandType)
public Command(CommandType commandType, java.lang.Object argument0)
public Command(CommandType commandType, java.lang.Object argument0, java.lang.Object argument1)
public Command(CommandType commandType, java.lang.Object argument0, java.lang.Object argument1, java.lang.Object argument2)
public Command(CommandType commandType, java.lang.Object argument0, java.lang.Object argument1, java.lang.Object argument2, java.lang.Object argument3)
public Command(CommandType commandType, java.lang.Object argument0, java.lang.Object argument1, java.lang.Object argument2, java.lang.Object argument3, java.lang.Object argument4)
Method Detail |
---|
public void finalize() throws Scheherexception
finalize
in interface Executable
finalize
in class java.lang.Object
Scheherexception
public boolean finalized()
finalized
in interface Executable
public int numArgs()
public CommandType getType()
public java.lang.Object[] getMutableArguments() throws Scheherexception
Scheherexception
public java.lang.Object getArgument(int position) throws Scheherexception
Scheherexception
public java.lang.StringBuffer render() throws Scheherexception
render
in interface Executable
render
in interface RenderableObject
Scheherexception
public CommandType type()
public Command makeCopy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |