company logo

dynamic property handle

A dynamic property handle is a property handle owned by the application and must be destroyed by the application. A dynamic property handle automatically detects type changes in upper property handles and readjusts itself to the currently valid sub handle.

Dynamic property handles can be copy handles or reference handles.

When a collection property contains persons, who might also be students or employees, the property handle for the student income may differ from the property handle of the employee income (not only in position but also in type and size), supposed that income is not a person property. When the upper instance for the income property handle changes from student to employee, because the newly selected instance is an employee, the income property handle automatically adjusts to the income in the employee instance.

Specialisations:  reference property handle