next up previous contents
Next: A CATEGORY_GROUP_LIST Example Up: DDL Definitions Describing Previous: CATEGORY_GROUP

CATEGORY_GROUP_LIST

 

The DDL category category_group_list holds data items that define category groups. Category groups are collections of related categories. Parent-child relationships may be defined for these groups. The specification of category groups and the relationships between these groups allows a complicated collection of categories to be organized into a hierarchy of more relevant groups. This higher level of structure is essential for large application dictionaries that may contain hundreds of category definitions.

The category category_group_list, holds the description of each category group, _category_group_list.description, and an optional parent group identifier, _category_group_list.parent_id. Category groups can be formed from collections of base categories, those categories that hold data. Category groups can also be formed from collections of base categories and category groups.

The DDL for the category_group_list category is given in the following section.

save_CATEGORY_GROUP_LIST

    _category.description    
;
     This category provides the definition of each category group.
     A category group is a collection of related categories.
;
    _category.id                         category_group_list
    _category.mandatory_code             no
    _category_key.name                 '_category_group_list.id'
     loop_
    _category_group.id                   'ddl_group'
                                         'category_group'
    save_

save__category_group_list.id

    _item_description.description   
;              
     The name of a category group ...
;
     loop_
    _item.name                   
    _item.category_id     
    _item.mandatory_code
         '_category_group_list.id'        category_group_list  yes
         '_category_group_list.parent_id' category_group_list  no
         '_category_group.id'             category_group       yes
    loop_     
    _item_linked.child_name         
    _item_linked.parent_name        
         '_category_group.id'              '_category_group_list.id'
         '_category_group_list.parent_id'  '_category_group_list.id'
    _item_type.code                        idname
    save_

save__category_group_list.description

    _item_description.description   
;              
     Text description of a category group...
;
    _item.name                       '_category_group_list.description'
    _item.category_id                  category_group_list
    _item.mandatory_code               yes
    _item_type.code                    text

    save_

save__category_group_list.parent_id

    _item_description.description   
;              
     The name of the optional parent category group. 
;
    save_



John Westbrook
Thu Apr 11 06:25:55 EDT 1996