Generate Row Iterator dialog box

This is a feature of JBuilder Professional and Enterprise.

To display the Generate RowIterator dialog box, right-click on a StorageDataSet, such as a QueryDataSet, and select Activate Designer. Click the Generate RowIterator Class button on the tool bar to open this dialog box.

The RowIterator Generator in the column designer can be used to create a new RowIterator class or update an existing RowIterator class for a DataSet. It looks at the columnName property of all the Columns in the DataSet, and generates get and set methods for each column.

Selecting the RowIterator Generator button opens a dialog box that provides lightweight (low memory usage and fast binding) iteration capabilities to ensure static type-safe access to columns.

Class Name

This field contains the class name for the RowIterator to be generated.

Extend RowIterator

If set, the generated class will extend RowIterator. This will surface all methods in RowIterator. If this is false, a new class with a RowIterator member will be created, and which is delegated for all operations. The advantage of not extending RowIterator is that your iterator class can control what gets exposed. The advantage of extending RowIterator is that less code needs to be generated due to the fact that binder and navigation methods are inherited and do not need to be delegated to.

Remove Underscores; Capitalize Next Letter

This affects how the get and set method names are generated from the columnName property of the Column. If this option is set, underscores are removed and the character following the underscore is capitalized.

Generate binder methods

Generates delegator methods to call the embedded RowIterator bind methods.

Generate navigation methods

Generates delegator methods to call the embedded RowIterator navigation methods.

For more information on properties of the RowIterator, see its description in the DataExpress Library Reference.