Optional
_descriptorConfig: IStringKeyMap<any>Optional
options: Partial<ModelOptions>Коллекция групп атрибутов модели
Коллекция дополнительных параметров модели
Описание
Отображаемое имя
Имя группы, к которой принадлежит модель
Есть ли у модели созданные экземпляры
Была ли модель опубликована
Внутреннее имя
Protected
observabilityProtected
validationПериод актуальности
Версия ревизии модели
Protected
afterThis method is called at the final stage of model initialization
Protected
beforeThe method calls before the model initialization begins
Cloning model data
Optional
includeSystemProps: booleanphantom, dirty, original values
T
Protected
commitProtected
commitProtected
commitProtected
createCreates model fields
Protected
createProtected
createМетод, возвращающий атрибут модели
Имя атрибута
Метод, возвращающий группу атрибутов с указанным идентификатором
Идентификатор
Метод, возвращающий список атрибутов модели.
Список атрибутов ДОЛЖЕН быть отсортирован по полю order
Метод, возвращающий атрибуты с одинаковым именем у указанной модели
Модель
Метод, возвращающий список комплексных атрибутов модели
Метод, возвращающий список ошибок сущности
Returns a json descriptor for the model field by its name. The Json handle may not exist
returns the main descriptor for the model field by its name. The main descriptor must exist
Returns an array of the main descriptors of the model fields. Can include descriptors for which entities have not been created. The main descriptor must exist
Returns an array of model fields
Returns the hasMany array of the model
Returns the JSON descriptor of the hasMany model. The Json descriptor may NOT exist
Returns the main descriptor of the hasMany model. The main descriptor must exist
Returns an array of hasMany model descriptors. Can include descriptors for which entities have not been created. The main descriptor must exist
Returns the model's hasOne array
Returns the model's has One json descriptor. Json handle may not exist
Returns the main hasone descriptor of the model. The main descriptor must exist
Returns an array of hasone model descriptors. Can include descriptors for which entities have not been created. The main descriptor must exist
Returns an array of original hasOne
This method is called at the validation. If there is logical errors in model, here will be list of them
Метод, возвращающий список главных отображаемых атрибутов
Метод, возвращающий список атрибутов с указанным значением поля (attribute[property] === value)
Имя поля
Значение поля
Метод, возвращающий пространство имён, к которому принадлежит модель
Returns whether a new record is selected
Returns the primary key value
Protected
getReturns a map of model properties based on the passed descriptors. The key is the property name, and the value is the property itself.
Protected
getReturns an array of model properties based on the passed descriptors Only certain values are returned.
Protected
getReturns the model property (field, has One, has Many) by the main handle
Имя модели
Optional
level: numberOptional
config: EqualConfigCommon method for remove attribute from model. You must implement logic of remove. Abstract entity method remove only UI settings
Protected
removeМетод, удаляющий атрибут с указанным именем из группы отображения
Имя атрибута
Метод, удаляющий все несуществующие атрибуты из групп
Returns a serialized view of the model
Optional
config: SerializationConfigSets the phantom attribute cascadingly for the model
Make some of the system properties reactive in the current model
list of system properties
Make some of the system properties reactive cascading throughout the model
list of system properties
Optional
disablePropagation: booleanParent cmp notification flag about validation
Модель абстрактной сущности
Public