next up previous contents
Next: CATEGORY_GROUP Up: DDL Definitions Describing Previous: CATEGORY

CATEGORY_EXAMPLES

 

The DDL category category_examples holds examples that apply to an entire category. This typically includes a complete specification of the category with annotations. An example specification consists of the text of the example, _category_examples.case, and an optional comment item, _category_examples.detail, which can be used to qualify the example. The basis for this category includes the items _category_examples.category_id and _category_examples.case. The former item is completely defined in the parent category, category (Section gif), and as a result this item is not redefined within this category. This compound basis permits multiple unique examples to be provided for each category.

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

save_CATEGORY_EXAMPLES

    _category.description
;
     Example applications and descriptions of data items in this category.
;
    _category.id                         category_examples
    _category.mandatory_code             no 
     loop_
    _category_key.name                '_category_examples.id'
                                      '_category_examples.case'
     save_


save__category_examples.case        

    _item_description.description
;
     A case of examples involving items in this category.
;
    _item.name                         '_category_examples.case'       
    _item.category_id                    category_examples
    _item.mandatory_code                 yes 
    _item_type.code                      text
     save_


save__category_examples.detail       

    _item_description.description
;
     A description of an example _category_examples.case      
;
    _item.name                         '_category_examples.detail'     
    _item.category_id                    category_examples
    _item.mandatory_code                 no 
    _item_type.code                      text
     save_



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