An abstract Lua wrapper for LISp-Miner metabase objects
namespace:
lm
Constructor
No constructor available. Objects of this class could not be instantiated from Lua scripts.
Properties List
ID |
Unique identifier (primary key) of the object |
Methods List
canDel () |
Returns true if the object could be deleted (is not used) |
getID () |
Returns unique identifier (primary key) of the object |
onAdd () |
Store the newly created object into metabase |
onDel () |
Delete the object from metabase (fails if canDel returns false) |
onUpdate () |
Save changes made to the object into metabase |
Properties
ID
(read-only) : integer
-
Unique identifier (primary key) of the object
Methods
canDel() : boolean
-
Returns true if the object could be deleted (is not used)
Returns
getID() : integer
-
Returns unique identifier (primary key) of the object
Returns
onAdd()
-
Store the newly created object into metabase
onDel()
-
Delete the object from metabase (fails if canDel returns false)
onUpdate()
-
Save changes made to the object into metabase