Properties
Private id
id: number = -1
Methods
add_instance
add_instance( instance: any , propertyName: string ) : IInstance
Parameters
instance: any
propertyName: string
add_instance_subscription
add_instance_subscription( subscription: ISubscriptionEntry , instance: any , propertyName: string ) : void
Parameters
instance: any
propertyName: string
Returns void
add_mutator
add_mutator( mutator: IMutator , prototype: any , propertyName: string ) : void
Parameters
prototype: any
propertyName: string
Returns void
add_property
add_property( prototype: any , name: string , def?: any ) : IProperty
Parameters
prototype: any
name: string
Optional def: any
add_property_subscription
add_property_subscription( subscription: ISubscriptionEntry , prototype: any , propertyName: string ) : void
Parameters
prototype: any
propertyName: string
Returns void
get_dbinstance
get_dbinstance( instance: any , propertyName: string ) : IInstance | undefined
Parameters
instance: any
propertyName: string
Returns IInstance
|
undefined
get_dbinstance_by_id
get_dbinstance_by_id( id: number ) : IInstance | undefined
get_property
get_property( prototype: any , name: string ) : IProperty | undefined
Parameters
prototype: any
name: string
Returns IProperty
|
undefined
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Adds an IInstance to the database for the given property and instance then returns the newly created [IInstance] object. Will throw an exception if the property does not exist or if the instance already has a value associated with the given property.