next up previous contents
Next: ITEM_EXAMPLES Up: DDL Definitions Describing Previous: ITEM_DESCRIPTION

ITEM_ENUMERATION

 

The DDL category item_enumeration holds lists of permissible values for enumerated data items. Each enumerated value is specified in item _item_enumeration.value, which may each have an associated description item _item_enumeration.detail. The combination of items _item_enumeration.name and _item_enumeration.value form the basis for this category. The former item is defined in the parent category, item. Multiple unique enumeration values may be specified for each data item.

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

save_ITEM_ENUMERATION

    _category.description
;
     Attributes which specify the permitted enumeration of the items.   
;
    _category.id                         item_enumeration
    _category.mandatory_code             no 
     loop_
    _category_key.name                 '_item_enumeration.name'                
                                       '_item_enumeration.value'
      loop_
     _category_group.id                'ddl_group'
                                       'item_group'
     save_


save__item_enumeration.value

    _item_description.description
;
     A permissible value, character or number, for the defined item.
;
    _item.name                         '_item_enumeration.value'
    _item.category_id                    item_enumeration
    _item.mandatory_code                 yes 
    _item_type.code                      any
     save_


save__item_enumeration.detail

    _item_description.description
;
     A description of a permissible value for the defined item.
;
    _item.name                         '_item_enumeration.detail'       
    _item.category_id                    item_enumeration
    _item.mandatory_code                 no 
    _item_type.code                      text 
     save_



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