LISp-Miner Control Language Reference, version: 27.18.15 of 2 Mar 2022

Class LMWrap

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

  • boolean
getID() : integer
Returns unique identifier (primary key) of the object

Returns

  • integer
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