

Creating Views › Common Steps for Adding Views › How to Create Views in the Import View Subset › Specify Import Group View Cardinality
Specify Import Group View Cardinality
The number of times a group view repeats is referred to as the cardinality of the group view. Group views are the only type of views for which you define cardinality.
When you define a repeating import group view, you specify the following cardinalities:
- Expected numbers of occurrences for the group view. You set the minimum cardinality of the group view (the least number of occurrences it can contain) by the value you enter for at least. You set the maximum cardinality of the group view (the greatest number of occurrences it can contain) by the value you enter for at most. Finally, you set the average cardinality of the group view (the average number of occurrences it can contain) by the value you enter for on average. To maintain consistency, the values for minimum and average cardinality of repeating group views are adjusted based on the value you enter for the maximum cardinality. For example, if the average cardinality is 12 and you change the maximum cardinality from 20 to 10, the average value is adjusted to 10.
- Whether the numbers you add for the minimum and maximum cardinalities are estimated or absolute.
- Explicitly or implicitly indexed. Explicitly indexed repeating group views have user-accessible indexes to refer to specific entries in the repeating group (or table). You must add logic to the Action Diagram to handle explicitly indexed repeating group views.
Implicitly indexed repeating group views allow the subscript of the group view to be incremented implicitly whenever an action occurs that would imply it. For example, if an implicitly indexed repeating group view is referenced in a FOR EACH statement, the index will be incremented whenever the end of the FOR EACH statement is reached.
The Consistency Check facility checks group views for conformance with the following rule:
A group view with cardinality of many must have the expected cardinality defined.
Copyright © 2014 CA.
All rights reserved.
 
|
|