|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--bea.jolt.pool.DataSet
|
+--bea.jolt.pool.Result
|
+--bea.jolt.pool.asp.AspResult
This class provides the Result set implementation for the Microsoft Active Server Pages environment.
| Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
| Constructor Summary | |
AspResult(int initCapacity)
Create the object to store the result. |
|
| Method Summary | |
boolean |
applicationError()
Tests if an application error occurred in the associated service invocation. |
int |
getApplicationCode()
Gets the application code returned by the BEA Tuxedo service. |
byte[] |
getBytesValueByIndex(java.lang.String name,
int index,
byte[] defval)
Get the octet value of a data element associated with a name and an index. |
int |
getError()
Gets the system error number if a system error occurred. |
int |
getErrorDetail()
Gets the detailed system error number. |
java.lang.String |
getStringError()
Gets the system error message. |
java.lang.String |
getStringErrorDetail()
Gets the detailed system error message. |
java.lang.String |
getValueByIndex(java.lang.String name,
int index,
java.lang.String defval)
Get the string value of a data element associated with a name and an index. |
boolean |
noError()
Tests if an error was encountered in the associated service invocation. |
void |
setValueByIndex(java.lang.String name,
int index,
java.lang.String value)
Set the string value of a data element associated with a name and an index. |
boolean |
systemError()
Tests if a system error occurred in the associated service invocation. |
| Methods inherited from class bea.jolt.pool.DataSet |
getCount, getValue, getValue, setValue, setValue |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AspResult(int initCapacity)
initCapacity - Initial capacity.| Method Detail |
public java.lang.String getValueByIndex(java.lang.String name,
int index,
java.lang.String defval)
name - The name of the data elementindex - The index of the data element, starting from 0.defval - The default value if the data element does not exist.
public byte[] getBytesValueByIndex(java.lang.String name,
int index,
byte[] defval)
name - The name of the data elementindex - The index of the data element, starting from 0.defval - The default value if the data element does not exist.
public void setValueByIndex(java.lang.String name,
int index,
java.lang.String value)
name - The name of the data elementindex - The index of the data elementvalue - The string value for the data elementpublic boolean noError()
applicationError(),
systemError()public boolean applicationError()
noError(),
systemError()public boolean systemError()
applicationError(),
noError()public int getError()
public int getApplicationCode()
getApplicationCode in class Resultpublic java.lang.String getStringError()
public java.lang.String getStringErrorDetail()
public int getErrorDetail()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||