ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahh_5.4.0.1/rowdata.htm

91 lines
5.9 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="RowData class" />
<meta name="abstract" content="" />
<meta name="description" content="" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rowdata" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>RowData class</title>
</head>
<body id="rowdata"><a name="rowdata"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">RowData class</h1>
<div><p></p>
<div class="section"><p>The <a href="javadoc/com/ibm/as400/util/servlet/RowData.html"> RowData</a> class is an abstract class that
provides a way to describe and access a list of data.</p>
</div>
<div class="section"><p>There are four main classes that extend the RowData class:</p>
</div>
<div class="section"><ul><li><a href="listrow.htm#listrow">ListRowData</a></li>
<li><a href="reclist.htm#reclist">RecordListRowData</a></li>
<li><a href="resourcelistrowdata.htm#resourcelistrowdata">ResourceListRowData</a></li>
<li><a href="sqldata.htm#sqldata">SQLResultSetRowData</a></li>
</ul>
</div>
<div class="section"><p>The RowData classes allow you to:</p>
</div>
<div class="section"><ul><li>Get and set the <a href="#rowdata__rowdatapos">current position</a></li>
<li>Get the row data at a given column using the <a href="javadoc/com/ibm/as400/util/servlet/RowData.html#GETOBJECT(INT)"> getObject()</a> method</li>
<li>Get the <a href="javadoc/com/ibm/as400/util/servlet/RowData.html#GETMETADATA()"> meta data</a> for the row</li>
<li><a href="javadoc/com/ibm/as400/util/servlet/RowData.html#GETOBJECTPROPERTIES(INT)"> Get</a> or <a href="javadoc/com/ibm/as400/util/servlet/RowData.html#SETOBJECTPROPERTIES(JAVA.UTIL.VECTOR, INT)"> set</a> the properties for an object at a given
column</li>
<li>Get the number of rows in the list using the <a href="javadoc/com/ibm/as400/util/servlet/RowData.html#LENGTH()"> length()</a> method.</li>
</ul>
</div>
<div class="section"><p><strong><span class="synph" id="rowdata__rowdatapos"><a name="rowdata__rowdatapos"><!-- --></a><span class="kwd"></span></span>RowData position</strong></p>
</div>
<div class="section"><p>There are several methods that allow you to get and set the current
position within a list. The following table lists both the set and get methods
for the RowData classes.</p>
</div>
<div class="section"><div class="p">
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="border" border="1" rules="all"><thead align="left"><tr class="tablemainheaderbar"><th colspan="2" valign="top" id="d0e83">Set methods</th>
<th valign="top" width="45.45454545454545%" id="d0e85">Get methods</th>
</tr>
</thead>
<tbody><tr><td valign="top" width="29.545454545454547%" headers="d0e83 "><a href="javadoc/com/ibm/as400/util/servlet/RowData.html#ABSOLUTE(INT)">absolute()</a></td>
<td valign="top" width="25%" headers="d0e83 "><a href="javadoc/com/ibm/as400/util/servlet/RowData.html#NEXT()">next()</a></td>
<td valign="top" width="45.45454545454545%" headers="d0e85 "><a href="javadoc/com/ibm/as400/util/servlet/RowData.html#GETCURRENTPOSITION()">getCurrentPosition()</a></td>
</tr>
<tr><td valign="top" width="29.545454545454547%" headers="d0e83 "><a href="javadoc/com/ibm/as400/util/servlet/RowData.html#AFTERLAST()">afterLast()</a></td>
<td valign="top" width="25%" headers="d0e83 "><a href="javadoc/com/ibm/as400/util/servlet/RowData.html#PREVIOUS()">previous()</a></td>
<td valign="top" width="45.45454545454545%" headers="d0e85 "><a href="javadoc/com/ibm/as400/util/servlet/RowData.html#ISAFTERLAST()">isAfterLast()</a></td>
</tr>
<tr><td valign="top" width="29.545454545454547%" headers="d0e83 "><a href="javadoc/com/ibm/as400/util/servlet/RowData.html#BEFOREFIRST()">beforeFirst()</a></td>
<td valign="top" width="25%" headers="d0e83 "><a href="javadoc/com/ibm/as400/util/servlet/RowData.html#RELATIVE(INT)">relative()</a></td>
<td valign="top" width="45.45454545454545%" headers="d0e85 "><a href="javadoc/com/ibm/as400/util/servlet/RowData.html#ISBEFOREFIRST()">isBeforeFirst()</a></td>
</tr>
<tr><td valign="top" width="29.545454545454547%" headers="d0e83 "><a href="javadoc/com/ibm/as400/util/servlet/RowData.html#FIRST()">first()</a></td>
<td valign="top" width="25%" headers="d0e83 "> </td>
<td valign="top" width="45.45454545454545%" headers="d0e85 "><a href="javadoc/com/ibm/as400/util/servlet/RowData.html#ISFIRST()">isFirst()</a></td>
</tr>
<tr><td valign="top" width="29.545454545454547%" headers="d0e83 "><a href="javadoc/com/ibm/as400/util/servlet/RowData.html#LAST()">last()</a></td>
<td valign="top" width="25%" headers="d0e83 "> </td>
<td valign="top" width="45.45454545454545%" headers="d0e85 "><a href="javadoc/com/ibm/as400/util/servlet/RowData.html#ISLAST()">isLast()</a></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</body>
</html>