Powered by SmartDoc

Relaxer Table List Object

Relaxer Table List Object (RTLO) is a list container to hold ROs which is selected from RTO or RTVO. RTLO is also a concrete list object for Java collection.

Table 14.5.1[Relaxer Table List Object constructor list] is a list of constructors for RTLO.

Relaxer Table List Object constructor list
Signature Function
Constructor(java.sql.ResultSet result, java.sql.Statement st) Creates an RTLO from the ResultSet and the Statement.

RTLO has instance methods shown in Table 14.5.2[Relaxer Table List Object method list].

Relaxer Table List Object method list
Signature Function
java.sql.ResultSet getResultSet() Gets the ResultSet.
int size() Gets the list size.
Object get(int index) Gets an RO of the record specified by the index as a Object.
Object getObject(int index) Gets an RO of the record specified by the index as a Object.
org.w3c.dom.Element getElement(int index) Gets an XML element of the record specified by the index.
org.w3c.dom.Document getDocument(int index) Gets an XML document of the record specified by the index.
void close() Closes the RTLO.
RO getProperty(int index) Gets a RO of the record specified by the index.
int indexOf(Object o) Gets index number for the RO.
int lastIndexOf(Object o) Gets last index number for the RO.
Iterator iterator() Gets a iterator to access contents.
ListIterator listIterator() Gets a iterator to access contents.
ListIterator listIterator(int index) Gets a iterator ot access contents.
List subList(int fromIndex, int toIndex) Gets a list which is subset of the contents.

Methods shown below are defined in the java.util.List interface. These methods are unsupport methods, because an RTLO is read-only.