TypeContext - Type context
Inherits: 
odaba::DBBaseContext
A type context is associated with a data type. It allows defining the behavior of type instances and reacting on instance events (read, modify etc.). Moreover, the type context knows about the current property hierarchy, actual parents, which allows reacting depending on a current context, i.e. a wheel may behave differently when it is a wheel of a car or of a bicycle.
The parent context for a type context is always a property context. This can be the property context for an extent or for another property within a complex data type.
Function Groups
- 1. Administration - Administration functions
- 2. Properties - Property functions
Functions
- TypeContext - Constructor
- canCreate - Check whether new instance can be created
- canDelete - Check whether the selected instance can be deleted
- canInsert - Check whether an instance can be inserted
- canRemove - Check whether the selected instance can be removed
- canRename - Check whether the selected instance can be renamed
- canUpdate - Check whether the selected instance can be updated
- connectionClient - Connection client property
- hasReferenceContext - Does reference context exist
- oldInstance - Old instance property handle
- ownerContext - Owner context property
- property - Property handle
- propertyContext - Get Property context
- readOnly - readOnly property
- referenceContext - Reference context property
- referenceInstance - Get source field
- resetReferenceContext - Reset reference context
- userTypeID - User type ID
- userTypeName - Provide user type name
- value - Get value handle
- visible - Visible property
- ~TypeContext - Destructor