Preparing search index...

    Модель простого атрибута со значением

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    dirty: boolean
    displayValue: StringField<null>

    Отображаемое значение атрибута

    hidden: BooleanField

    Флаг является ли атрибут скрытым

    Следует использовать setHidden и isHidden

    @universe-platform/record 2.0.0

    modelId: number

    Имя атрибута

    observabilitySet: Set<ReactiveProp>
    onValidation: (_validationResult: IValidationResult) => void
    phantom: boolean

    Тип атрибута

    validationResult: IValidationResult
    value: AnyField

    Значение атрибута

    Accessors

    • get isHidden(): boolean

      Геттер, определяющий является ли атрибут скрытым (используется для динамического отображения\скрытия на карточке записи)

      Returns boolean

    • get isValueEmpty(): boolean

      Геттер, определяющий является ли значение атрибута пустым

      Returns boolean

    Methods

    • This method is called at the final stage of model initialization

      Returns void

    • The method calls before the model initialization begins

      Returns void

    • Cloning model data

      Type Parameters

      Parameters

      • OptionalincludeSystemProps: boolean

        phantom, dirty, original values

      Returns T

      T

    • Метод получения отформатированного значения

      Parameters

      Returns string

    • This method is called at the validation. If there is logical errors in model, here will be list of them

      Returns string[]

    • Returns whether a new record is selected

      Returns boolean

    • Parameters

      • Optionallevel: number

      Returns Map<string, string[]>

    • Метод, устанавливающий флаг скрытности атрибута

      Parameters

      • isHidden: boolean

        Флаг является ли атрибут скрытым

      Returns void

    • Sets the phantom attribute cascadingly for the model

      Parameters

      • phantom: boolean

      Returns void