Abstract data model field

Type Parameters

Hierarchy (view full)

Constructors

  • Type Parameters

    Parameters

    • value: T
    • OptionalonChangeDirty: (() => void)
        • (): void
        • Returns void

    • OptionaldescriptorConfig: D
    • OptionalonValidation: ((validationResult: string[]) => void)
        • (validationResult): void
        • Parameters

          • validationResult: string[]

          Returns void

    Returns AbstractField<T, D>

Properties

allowNull: boolean
descriptorConfig: undefined | D
dirty: boolean
observabilitySet: Set<ReactiveProp>
originalValue: T
persist: boolean
validationResult: string[]

Accessors

  • get isPrimaryKey(): boolean
  • Returns boolean

Methods

  • Parameters

    • value: any

    Returns T

  • Returns void

  • Returns void

  • Function for comparing elements of type T

    Parameters

    Returns number

  • Returns boolean

  • Returns string

  • Returns string

  • Returns T

  • Returns string[]

  • Returns T

  • Parameters

    Returns boolean

  • Returns true if the current value is different from the original value

    Returns boolean

  • Returns void

  • Returns T

  • Parameters

    • value: T

    Returns void

  • Make some of the system properties reactive in the current model

    Parameters

    Returns void

  • Parameters

    • value: T
    • Optionalsilent: boolean

    Returns void

  • Returns void

  • Parameters

    • OptionaldisablePropagation: boolean

      Parent cmp notification flag about validation

    Returns string[]