The constructor can be called in multiple ways.
The constructor can be called in multiple ways.
The constructor can be called in multiple ways.
Make a copy of this model
Delete a model and persist the changes into the blockchain.
Notice that there's no such a concept as delete in the blockchain, so what this does is to remove all the reachable references to the model.
Invokes the BaseStorage.get method to retrieve the model from storage.
Invokes the BaseStorage.set method to write into chaincode.
Serealize this model so it can be transferred in the network
Skip the empty properties
Given one model loaded into the instance, update its content with the object passed in the param.
Store the result after the update occurs.
Return all the models with the given ConvectorModel.type
The extender type
The type field to lookup and group the results
Fetch one model by its id and instantiate the result
The extender type
The ID used to fetch the model
The type to use for instantiation, if not provided, the extender type is used
Runs a query on the storage layer
The type to use for instantiation, if not provided, the extender type is used
The query params, this is passed directly to the current storage being used
This class is intended to be inherited by all the models of the application.
It provides the underlying communication with the BaseStorage.