Special objects are generated for each group view. The first is the group view object itself. This object holds the Capacity or the maximum number of rows specified in the model. It also holds the Length or the current number of populated rows in the group view. The Length cannot exceed the Capacity or be negative. It is impossible to access a row beyond the currently defined Length. If you try to do so, it throws IndexOutOfRangeException or ArgumentOutOfRangeException.
The Capacity value is accessible via the objects Capacity property. The Length property is set by calling the objects setLength() method and read by calling the getLength() method.
For import groups, the Capacity property is considered read only, while the Length property is read/write.
Note: It is the responsibility of the user written application to set the import repeating group Length property appropriately prior to flowing to a server. Failure to do so will result in the view data not being processed properly.
For repeating export groups, the user written application should consider both the Capacity and Length properties to be read only.
To store row data, an object is generated. It represents a row and contains references to all the entity and work set views within the GroupView. This group view object stores an array of row objects to hold the data. An individual row can be accessed by indexer property built into the Rows property on the group view.
Since a row of data is an object that lets certain row-level operations to be performed such as looping, cloning, resetting, and tostring.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|