|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.command.TCommandItem
com.softwareag.tamino.db.api.command.TCommandValue
public class TCommandValue
TCommandValue represents the value type of TCommand. As a consequence a TCommand object offen occurrs in pair with a TCommandValue that represents its value state.
Field Summary | |
---|---|
static TCommandValue |
API_VERSION
Constant that represents the "apiversion" command value for the diagnose command. |
static TCommandValue |
CLOSE
Constant that represents the "close" command value for the cursor command. |
static TCommandValue |
ECHO
Constant that represents the "echo" command value for the diagnose command. |
static TCommandValue |
FETCH
Constant that represents the "fetch" command value for the cursor command. |
static TCommandValue |
FULL_VERSION
Constant that represents the "fullVersion" command value for the diagnose command. |
static TCommandValue |
OPEN
Constant that represents the "open" command value for the cursor command. |
static TCommandValue |
PING
Constant that represents the "ping" command value for the diagnose command. |
static TCommandValue |
PREPARED_XQUERY
Constant that represents the "prepared-xquery" command value for the execute command. |
static TCommandValue |
TIME
Constant that represents the "time" command value for the diagnose command. |
static TCommandValue |
UPDATE_FRAGMENT
Constant that represents the "update" command value for the xquery update expression. |
static TCommandValue |
VERSION
Constant that represents the "version" command value for the diagnose command. |
Constructor Summary | |
---|---|
TCommandValue(java.lang.String value)
Initializes the TCommandValue with a string. |
|
TCommandValue(TStreamable streamable)
Initializes the TCommandValue with a TStreamable instance. |
Method Summary | |
---|---|
TStreamable |
getStreamableValue()
Returns the streamable value if one is given, null otherwise. |
boolean |
hasStreamableValue()
Indicates if the command value contains a streamable value, false otherwise. |
void |
takeVisitor(TCommandItemVisitor visitor)
Takes a TCommandItemVisitor and tells it that it wants to be visited. |
java.lang.String |
toString()
Returns the string representation of the underlyling value. |
Methods inherited from class com.softwareag.tamino.db.api.command.TCommandItem |
---|
getValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final TCommandValue OPEN
public static final TCommandValue CLOSE
public static final TCommandValue FETCH
public static final TCommandValue PING
public static final TCommandValue ECHO
public static final TCommandValue TIME
public static final TCommandValue VERSION
public static final TCommandValue FULL_VERSION
public static final TCommandValue UPDATE_FRAGMENT
public static final TCommandValue API_VERSION
public static final TCommandValue PREPARED_XQUERY
Constructor Detail |
---|
public TCommandValue(java.lang.String value)
public TCommandValue(TStreamable streamable)
Method Detail |
---|
public void takeVisitor(TCommandItemVisitor visitor)
takeVisitor
in class TCommandItem
the
- TCommandItemVisitor that shall visit this instance.public TStreamable getStreamableValue()
public boolean hasStreamableValue()
public java.lang.String toString()
toString
in class TCommandItem
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |