key
A key is an object type orcomplex data type defined in the context of an owning type (object type or complex data type). A key defines a projection of the owner type by defining one or more attributes as key components.
A key is defined as data type projection from a complex data type, i.e. a key refer to a subset of properties of a complex data type. Keys are complex data types.
Keys are defined in order to identify instances or in order to support search indexes. Keys can be defined as members of complex data types (structures). A key may consist of any number of structure attributes. Since attributes might be transient attributes, which may contain derived values, keys can implicitly defined based on function values.
Keys allow providing instance access mechanisms (locating an instance by key value) and may also act as identifier for an instance.
Related topics
- Key name for the index
- SDB_Key - Key definition
- SDB_KeyComponent - Key component
- smcepsmc - Key definitions
- Type property
- Key definition
- keyname - Key name for index
- unique - UNIQUE option
- supressEmpty - NOT_EMPTY option
- temporary - TEMPORARY option
- OXML key definition
- Get type definition for identifying key
- NOT_EMPTY option
- Using keys
- 2.2. Indexes and keys - Access functions - keyed access
- Complex data types