|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sibvisions.util.db.AbstractCommand
public abstract class AbstractCommand
The AbstractCommand
is a default ICommand
implementation and should be used as superclass for
all commands.
Constructor Summary | |
---|---|
AbstractCommand()
|
Method Summary | |
---|---|
String |
getCommand()
Gets the command. |
String |
getCommandName()
Gets the command name. |
String[] |
getCommandParameters()
Gets the command parameters. |
int |
getPosition()
Gets the start position in the statement for the command. |
Object |
getValue()
Gets the value for the command. |
void |
setCommand(String pCommand)
Sets the whole command, with name and parameters. |
void |
setPosition(int pPosition)
Sets the start position in the statement for the command. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCommand()
Method Detail |
---|
public void setPosition(int pPosition)
pPosition
- the start indexpublic int getPosition()
public void setCommand(String pCommand)
pCommand
- the command stringpublic String getCommand()
public String getCommandName()
public String[] getCommandParameters()
public Object getValue() throws Exception
Exception
- if value detection fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |