# CheckExpressionType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Expression used to check the data and report a user-friendly message in case that the check fails.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
expression | property ExpressionType | [0,1] | Expression that is used to check the resulting value whether it is acceptable or not.
localizableFailureMessage | property LocalizableMessageType | [0,1] | Localizable message that will be displayed to user when the expression check fails.
failureMessage | property string | [0,1] | Message that will be displayed to user when the expression check fails.
display | container DisplayType | [0,1] | Display properties of the CheckExpressionType objects.

- ### Items

  - #### expression

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Expression that is used to check the resulting value whether it is acceptable or not. If the expression returns true, then the value is accepted. If the expression returns false value, then the value is rejected.

  - #### localizableFailureMessage

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Localizable message that will be displayed to user when the expression check fails. This one takes precedence over (non-localizable) failureMessage.

  - #### failureMessage

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Message that will be displayed to user when the expression check fails.

  - #### display

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display properties of the CheckExpressionType objects.