All Packages Class Hierarchy This Package Previous Next Index
Class bea.jolt.pool.asp.AspDataSet
java.lang.Object
|
+----java.util.Dictionary
|
+----java.util.Hashtable
|
+----bea.jolt.pool.DataSet
|
+----bea.jolt.pool.asp.AspDataSet
- public class AspDataSet
- extends DataSet
This class represents the data set that can be used by template processing
or service invocation to store the result set. It provides an extra method
to import the server specific Request object. The keys to the
hash table are the field names in the data set.
-
AspDataSet()
- Default constructor to store the data set.
-
AspDataSet(int)
- The constructor to store the data set with an initial capacity.
-
getBytesValueByIndex(String, int, byte[])
- Get the octet value of a data element associated with a name and an
index.
-
getValueByIndex(String, int, String)
- Get the string value of a data element associated with a name and
an index.
-
importRequest()
- Import the values from the Microsoft ASP Request object
into this data set object.
-
setBytesValueByIndex(String, int, byte[])
- Set the octet value of a data element associated with a name and
an index.
-
setValueByIndex(String, int, String)
- Set the string value of a data element associated with a name and
an index.
AspDataSet
public AspDataSet()
- Default constructor to store the data set. The default initial
capacity is 10.
AspDataSet
public AspDataSet(int initCapacity)
- The constructor to store the data set with an initial capacity.
- Parameters:
- initCapacity - initial capacity.
getValueByIndex
public String getValueByIndex(String name,
int index,
String defval)
- Get the string value of a data element associated with a name and
an index. The value is automatically converted to String data type.
- Parameters:
- name - the name of the data element
- index - the index of the data element, starting from 0.
- defval - the default value if the data element does not exist.
- Returns:
- the string value of the data element or the default value.
getBytesValueByIndex
public byte[] getBytesValueByIndex(String name,
int index,
byte defval[])
- Get the octet value of a data element associated with a name and an
index. The data type of this field must be carray (octets).
If the field is not a carray field, the default value will be
returned.
- Parameters:
- name - the name of the data element
- index - the index of the data element, starting from 0.
- defval - the default value if the data element does not exist.
- Returns:
- the octet value of the data element or the default value.
setValueByIndex
public void setValueByIndex(String name,
int index,
String value)
- Set the string value of a data element associated with a name and
an index. The value will be automatically converted to the proper
data type according to the service definition.
- Parameters:
- name - the name of the data element
- index - the index of the data element
- value - the string value for the data element
setBytesValueByIndex
public void setBytesValueByIndex(String name,
int index,
byte value[])
- Set the octet value of a data element associated with a name and
an index. The data element must be defined as carray in
TUXEDO.
- Parameters:
- name - the name of the data element
- index - the index of the data element
- value - the octet value for the data element
importRequest
public void importRequest()
- Import the values from the Microsoft ASP Request object
into this data set object.
All Packages Class Hierarchy This Package Previous Next Index