The already-loaded parent entity record to discover descendants for.
Its ISAChild/ISAChildren properties must already be populated
(this happens automatically during entity load).
Flat list of descendant entities ordered depth-first, with depth information. Returns empty array if the entity has no children.
Recursively discovers all IS-A descendant entities that have records matching the given record's primary key.
This is a UI-level utility method. It does NOT modify BaseEntity's automatic loading behavior or participate in entity lifecycle management. It creates temporary entity instances solely to discover deeper hierarchy levels via the existing provider infrastructure.
Intended for use by UI components (e.g.,
<mj-isa-related-panel>) that need to display the full IS-A descendant tree with depth information.For disjoint subtypes, leverages the auto-chained
ISAChildproperty (already loaded during the parent entity's load). For overlapping subtypes, loads child entities individually to discover their own children.