The DDL category sub_category_examples holds examples of a subcategory. A subcategory example might illustrate valid instances of the components which comprise the subcategory. An example specification contains the text of the example, _sub_category_examples.case, and an optional comment item, _sub_category_examples.detail, which can be used to qualify the example.
The basis for this category includes the items _sub_category_examples.id
and sub_category_examples.case. The former item is completely
defined in the parent category, sub_category (Section
),
and as a result this item is not redefined within this category.
This compound basis permits multiple unique examples to be provided
for each subcategory.
The DDL for the sub_category_examples category is given in the following section.
save_SUB_CATEGORY_EXAMPLES
_category.description
;
Example applications and descriptions of data items in this subcategory.
;
_category.id sub_category_examples
_category.mandatory_code no
loop_
_category_key.name '_sub_category_examples.id'
'_sub_category_examples.case'
loop_
_category_group.id 'ddl_group'
'sub_category_group'
save_
save__sub_category_examples.case
_item_description.description
;
An example involving items in this subcategory.
;
_item.name '_sub_category_examples.case'
_item.category_id sub_category_examples
_item.mandatory_code yes
_item_type.code text
save_
save__sub_category_examples.detail
_item_description.description
;
A description of an example _sub_category_examples.case
;
_item.name '_sub_category_examples.detail'
_item.category_id sub_category_examples
_item.mandatory_code no
_item_type.code text
save_