Class: BinaryModel<T>
Extends
CoreModel
Type parameters
• T = any
Constructors
new BinaryModel()
new BinaryModel<
T
>():BinaryModel
<T
>
Returns
BinaryModel
<T
>
Inherited from
CoreModel.constructor
Source
core/lib/models/coremodel.d.ts:432
Properties
__binary
__binary:
Binary
<any
>
Source
runtime/src/models/binarymodel.ts:7
__class
__class:
CoreModelDefinition
<BinaryModel
<T
>>
Class reference to the object
Inherited from
CoreModel.__class
Source
core/lib/models/coremodel.d.ts:396
__ctx
__ctx:
OperationContext
<any
,any
>
Object context
@TJS-ignore
Inherited from
CoreModel.__ctx
Source
core/lib/models/coremodel.d.ts:410
__data
__data:
T
Source
runtime/src/models/binarymodel.ts:5
__dataUpdated
__dataUpdated:
boolean
=false
Source
runtime/src/models/binarymodel.ts:10
__dirty
__dirty:
Set
<string
|symbol
>
Inherited from
CoreModel.__dirty
Source
core/lib/models/coremodel.d.ts:417
__store
__store:
Store
<BinaryModel
<T
>,StoreParameters
,StoreEvents
>
If object is attached to its store
@TJS-ignore
Inherited from
CoreModel.__store
Source
core/lib/models/coremodel.d.ts:416
__type
__type:
string
Type name
Inherited from
CoreModel.__type
Source
core/lib/models/coremodel.d.ts:400
__types
__types:
string
[]
Types name
Inherited from
CoreModel.__types
Source
core/lib/models/coremodel.d.ts:404
_creationDate
_creationDate:
Date
Creation date
Inherited from
CoreModel._creationDate
Source
core/lib/models/coremodel.d.ts:421
_lastUpdate
_lastUpdate:
Date
Last update date
Inherited from
CoreModel._lastUpdate
Source
core/lib/models/coremodel.d.ts:425
Accessors
data
get
data():T
set
data(data
):void
Parameters
• data: T
Returns
T
Source
runtime/src/models/binarymodel.ts:12
Methods
_onDelete()
_onDelete():
Promise
<void
>
Called when object is about to be deleted
Returns
Promise
<void
>
Inherited from
CoreModel._onDelete
Source
core/lib/models/coremodel.d.ts:807
_onDeleted()
_onDeleted():
Promise
<void
>
Called when object has been deleted
Returns
Promise
<void
>
Inherited from
CoreModel._onDeleted
Source
core/lib/models/coremodel.d.ts:811
_onGet()
_onGet():
Promise
<void
>
Called when object is retrieved
Returns
Promise
<void
>
Inherited from
CoreModel._onGet
Source
core/lib/models/coremodel.d.ts:815
_onSave()
_onSave():
Promise
<void
>
Called when object is about to be saved