@mendix/extensions-api - v0.10.0
    Preparing search index...

    Interface ValidationRule

    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 ValidationRule {
        $CreationOptions?: unknown;
        $ID: string;
        $Type: "DomainModels$ValidationRule";
        $UnitID?: string;
        attribute: string;
        errorMessage: Text;
        ruleInfo: RuleInfo;
        delete(): void;
        getContainer(): Entity;
    }

    Hierarchy (View Summary)

    Index

    Properties

    $CreationOptions?: unknown

    Options to pass during the element creation

    $ID: string

    The unique id of the element.

    $Type: "DomainModels$ValidationRule"

    The type of the element.

    $UnitID?: string
    attribute: string
    errorMessage: Text
    ruleInfo: RuleInfo

    Methods

    • Returns void