Index
Constructors
Public Properties
- caption
- captionPlural
- dataAttr
- dataType
- defaultEditor
- description
- displayFormat
- entity
- expr
- id
- isEditable
- isForeignKey
- isNullable
- isPrimaryKey
- kind
- lookupAttr
- lookupDataAttr
- lookupEntity
- showInLookup
- showOnCreate
- showOnEdit
- showOnView
- size
- userData
Public Methods
Constructors
constructor
The default constructor. ⊕ new MetaEntityAttr(entity: MetaEntity): MetaEntityAttr
Parameters:
- entity: MetaEntity
Public Properties
caption
The caption.
● caption: string
captionPlural
The caption in plural form.
● captionPlural: string
dataAttr
● dataAttr: string
dataType
● dataType: DataType
defaultEditor
The default editor.
● defaultEditor: ValueEditor
description
The description.
● description: string
displayFormat
The display format for the attribute
● displayFormat?: string
entity
The parent
● entity: MetaEntity
expr
The attribute expression.
● expr: string
id
The id.
● id: string
isEditable
The value indicating wether the attribute is editable.
● isEditable: boolean
isForeignKey
The value indicating wether the attribute is a primary key.
● isForeignKey: boolean
isNullable
The value indicating wether the attribute can be null key.
● isNullable: boolean
isPrimaryKey
The value indicating wether the attribute is a primary key.
● isPrimaryKey: boolean
kind
The kind.
● kind: EntityAttrKind
lookupAttr
The lookupAttr.
● lookupAttr: string
lookupDataAttr
● lookupDataAttr: string
lookupEntity
● lookupEntity: string
showInLookup
The value indicating wether the attribute is shown in Lookup Editor.
● showInLookup: boolean
showOnCreate
The value indicating wether the attribute is shown create page.
● showOnCreate: boolean
showOnEdit
The value indicating wether the attribute is shown edit page.
● showOnEdit: boolean
showOnView
The value indicating wether the attribute is shown on view page.
● showOnView: boolean
size
● size: number
userData
User data
● userData?: string
Public Methods
loadFromData
Loads entity attribute from JSON representation object.
▸ loadFromData(model: MetaData,dto: MetaEntityAttrDTO): void
Parameters:
- model: MetaData - The Data Model.
- dto: MetaEntityAttrDTO - The JSON representation object.
Returns void