Loading...
 

DDI (Data Dictionary)

The data dictionary describes the data members of a class that are visible to InstantView®:

Name Name of the data field
Type elementary data type or identifier of a class
Reference type only for Pointer or Collection: data type of the referenced object
indexable TRUE - an index can be created for this field
Query functions Query functions whose return value depends on this data field

Data fields of a class (i.e. fixed data members - no dynamic data fields) become visible for InstantView® as soon as they are entered into the DDI of the class. The DDI is described symbolically and converted into C++ code using the program CXDGEN.

Example:

DDI(CX_PERSON)
    (CX_EXPANDABLE::uniqueID, STRING, INDEXABLE)
    (CX_TERMED::validity, POINTER, CX_VALIDITY)
    (CX_STRUCTURED::structures, REL_MN, CX_STRUCTURED)
    (CX_BUSINESS_OBJECT::clearingObjects, REL_MN, CX_CLEARING_OBJECT)
    (CX_BUSINESS_OBJECT::allocations, REL_MN, CX_EXPANDABLE)
    (CX_BUSINESS_OBJECT::monitors, REL_MN, CX_MONITOR)
    (CX_BUSINESS_OBJECT::generalTerms, REL_1M, CX_GENERAL_TERMS)
    (CX_PARTNER::name, STRING, INDEXABLE)
    (CX_PARTNER::partnerControl, INTEGER)
    (CX_PARTNER::languageEnum, ENUMCHAR)
    (sexEnum, ENUMCHAR)
    (title, STRING)
    (firstName, STRING)
    (birthday, CX_DATE, QUERYFUNCTION(CX_PARTNER::BirthdayIndex)) Extern(dateOfBirth)