|
||||||||||
| 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 | |
|---|---|
java.lang.String |
getCommand()
Gets the command. |
java.lang.String |
getCommandName()
Gets the command name. |
java.lang.String[] |
getCommandParameters()
Gets the command parameters. |
int |
getPosition()
Gets the start position in the statement for the command. |
java.lang.Object |
getValue()
Gets the value for the command. |
void |
setCommand(java.lang.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(java.lang.String pCommand)
pCommand - the command stringpublic java.lang.String getCommand()
public java.lang.String getCommandName()
public java.lang.String[] getCommandParameters()
public java.lang.Object getValue()
throws java.lang.Exception
java.lang.Exception - if value detection fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||