Hierarchy (view full)

Constructors

Properties

Accessors

Methods

Constructors

Properties

customProperties: ModelCollection<CustomProperty>
defaultValue: StringField<null>
description: StringField<void>
dirty: boolean
displayable: BooleanField<void>
displayName: StringField<void>
hidden: BooleanField<void>
mainDisplayable: BooleanField<void>
modelId: number
name: StringField<void>
nullable: BooleanField<void>
observabilitySet: Set<ReactiveProp>
onChangeDirty: (() => void)
onValidation: ((_validationResult: IValidationResult) => void)
order: IntegerField<void>
phantom: boolean
readOnly: BooleanField<void>
rights: null | Right
searchable: BooleanField<void>
searchCaseInsensitive: BooleanField<void>
searchCustomSort: EnumField<AttributeSearchCustomSort, null>
searchMorphologically: BooleanField<void>
searchWithSynonyms: BooleanField<void>
searchWithTransliteration: BooleanField<void>
simpleDataType: EnumField<CODE_DATA_TYPE, void>
unique: BooleanField<void>
validationResult: IValidationResult

Accessors

  • get isCreatable(): boolean
  • Returns boolean

  • get isEditable(): boolean
  • Returns boolean

  • get isIndexable(): boolean
  • Returns boolean

  • get isReadable(): boolean
  • Returns boolean

  • get processedDefaultValue(): any
  • Returns any

  • get required(): 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

  • Creates model fields

    Parameters

    • data: any

    Returns void

  • Parameters

    • validatorName: string

    Returns string

  • Returns an array of model fields

    Returns any[]

  • 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

    • flag: boolean

    Returns void

  • Sets the phantom attribute cascadingly for the model

    Parameters

    • phantom: boolean

    Returns void

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

    Parameters

    Returns void

  • Make some of the system properties reactive cascading throughout the model

    Parameters

    Returns void