SDB_Structure - Complex data type
A structure defines a complex data type, which represents a view to a given object type. The complex data type definition provides usually a subset of the characteristics of the object type considered.
A complex data type represents the structural part for an object type, while the functional part is defined in the more specific class definition. An ODABA data type definition contains, however, also dynamic model elements, which allow defining reactions on system or user-defined events.
Complex data type properties are defined as properties of different categories:
- base types (for generalization)
- attributes (for characteristics)
- references (for parts)
- relationships (for associations)
- Other members defined on data type level are keys. A complex data type may define any number of keys based on attribute values of the data type.
Complex data type of different categories can be defined depending on the purpose of use. Usually, complex data type represent user-defined types. Internally, however, key data types are created from key definitions. System data types refer to complex data type definitions provided by ODABA. View data types are complex data type, which are implemented as views.
One may refer to complex data type as type of different sort of members. Before being able to store instances for a complex data type, the complex data type itself and all types referenced by its members have to be be checked. In order to store instances, the complex data type state must be set to ready .
- res_id - Resource identifier
- smcestyp - Structure type
- smceiksm - Identifying key for structure
- modified - Structure definition has been modified
- checked - Structure definition is checked
- ready - Structure definition ready for use
- version - Structure schema version
- local - Locally used structure
- vf_opt - Virtual function option
- versioning - Instance versioning
- allignment - Structure alignment
- global_identity - Create global identity
- abstract_type - Abstract data type
- last_key_num - Last internal key number
- aggr_type - Aggregation type (views)
- all_instances - Complete aggregation hierarchy (views)
- synonyms - Synonyms for type name
- graph - Script for graphical type presentation
- ni_base_type - Not implemented base types
- ni_attributes - Not implemented attributes
- ni_references - Not implemented references
- ni_relationships - Not implemented relationships
- name_space - Structure attributes
- members - All structure properties
- base_descr - Conceptual base structures
- attribute_descr - Conceptual attributes
- reference_descr - Conceptual references (parts)
- relationship_descr - Conceptual relationships (associations)
- smcepdde - Structure attributes
- smcepref - Reference definitions
- smcepsmc - Key definitions
- smcebase - Base structures
- smcershp - Relationship definitions
- class_implementations - Classes
- smceclas - Class definition
- view - Reference to view definition
- generic_type - Generic type based on this structure definition
- ctx_ressource - Resource reference
- __IDENTITY - Local object identity key
- ik_Ident - Secondary key
- ik_Ident8 - Primary key
- sk_TypeID - Secondary key
- GetDocFileName - - internal feature (not documented)
- InheritsFrom - - internal feature (not documented)
- IsExtendable - - internal feature (not documented)
- IsPersistent - - internal feature (not documented)