allowedSubModelClasses
GetterProtected Static ReadOnly
The Model classes that may sub-model an instance of this class.
A sub-model is accepted if its class is, or derives from, one of these classes, including generated JavaScript classes for unregistered EC subclasses.
The default is undefined, which permits any Model class.
Domain classes implementing bis:ISubModeledElement should override this to restrict their sub-model class.
allowedSubModelClasses: EntityClassType<Model>[] | undefined
@note this is the class of Element to be sub-modeled.
Returns - EntityClassType<Model>[] | undefined
Defined in
- backend/src/Element.ts Line 467
Last Updated: 12 October, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.