Java Data Sources > Working with the Server/Java Mapping > Tables > IlsRpRow
 
IlsRpRow
Description
Instances of the class IlsRpRow are representation objects that represent each server object by a row in the DefaultTableModel attached to the JavaTM data source. No row representation object can exist without an IlsRpTable representation to which this row is attached. Rows represent server objects that are the target of the relation represented by the associated table.
The associated IlsTableDataSource is notified when a creation, deletion, or update event of the row is received from the server.
Row Representation Attributes
*table: This attribute indicates the parent table to which the row belongs. When the row representation object is first created by the server as an instance of the class IlsRpRow, it is empty. Then, the missing values are filled in when the attribute values are set. The first attribute to be set is the table attribute, which allows the row to add itself to its parent table. (See the mandatory keyword in the .ils file,)
*column [] (any type): This attribute controls the data type in the columns of the table. Unlike the column[] attribute of IlsRpTable, this one can be of any type since it contains the value of anything that is in the corresponding data sources. While the column[] attribute of IlsRpTable will be filled most likely with constant strings, this one is mapped to server object attributes. As a result, the table represents several server objects (one per row).
Important: The order of the “table” and “column[]” attributes in the view specification IS significant.
Row User-defined Properties
You can add your own row properties in the dynamic view specification. To handle these specific properties, you must derive the class IlsRpRow or IlsTableDS2JTableAdapter, or define a new adapter strategy.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.