An element is part of a Mendix model and all elements together form the logic of the model. Elements may contain other elements. An element always has a container element, which is its parent. The root of an element tree is always a unit.

interface EntityKey {
    $CreationOptions?: unknown;
    $ID: string;
    $Type: "DomainModels$EntityKey";
    parts: EntityKeyPart[];
    addEntityKeyPart(options: EntityKeyPartCreationOptions): Promise<EntityKeyPart>;
    getEntityKeyPart(name: string): EntityKeyPart;
}

Hierarchy (view full)

Properties

$CreationOptions?: unknown

Options to pass during the element creation

$ID: string

The unique id of the element.

$Type

The type of the element.

parts: EntityKeyPart[]

Methods