Previous Topic: Decimal Precision PropertiesNext Topic: Example 1


Repeating Group Property Handling

Attributes that are in repeating groups have the same property names as non-repeating attributes, but with an index (an int index parameter).

Two additional properties are defined for repeating groups. The first property, Max, represents the maximum number of rows in the repeating group. The second property, Count, represents the current number of populated rows within the group.

These property names are formed by the combination of the group view name, and the words “Max” or “Count” respectively. The read-only Max property is accessible via the name <ImportGroupViewName>Max.

The Count property is set by calling the set<ImportGroupViewName>Count method and read by calling the get<ImportGroupViewName>Count method. The Count value cannot be set to a negative value or larger than Max. Attempts to do so will result in a PropertyVetoException.

In all cases, <ImportGroupViewName> is the name of the repeating group as defined within the CA Gen model.

For repeating import groups, the Max property is considered read only, while the Count property is read/write.

Note: It is the responsibility of the user written application to set the import repeating group Count property appropriately before flowing to a server. Failure to do so will result in the view data not being processed properly.

For repeating export groups, the proxy application should consider both the Max and Count properties to be read only.