company logo

TypeContext :: userTypeID - User type ID

The user type id can be provided in order to assign more specific type numbers as the system does (e.g. type number by categories). By default, the function returns the internal type identifier assigned by the system when the type had been created. However, overloading the function in an application specific type context class allows assigning more specific type identifiers.

Notes:

Mainly, user type identifier are requested when indexing objects in order to create object subsets for each keyword by kategory. Thus you may index person objects and create kategory sumsets for male and female persons by teurning different type identifier for male and female.

Return value:  Internal data type number ( int32  )

For user-defined data types (complex data types or enumerations) the internal type identification is a unique number within a schema (dictionary). For ODABA built-in data types the value is negative.

Implementation details

int32 TypeContext  :: userTypeID (  )