The data dictionary describes class data member that are visible for InstantView®:
| name | data field name |
| type | elemental data type or class identifier |
| reference type | only for pointer or collection: data type of the referenced object |
| indexable | TRUE - an index can be generated for this field |
| query functions | query function with a return value that doesn't depend on this data field |
As soon as the data fields of a class (fixed data member - no Dynamic Data Field) are entered into the class DDI, they become visible for InstantView®. The DDI gets described and the program CXDGEN converts it into C++ code.
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)