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

Class KLAttributeSetting

Set of parameters for a KL-attribute.
inherits from LMWrap
namespace: lm.tasks.settings

Constructor

KLAttributeSetting()
Creates a new object of this class

Parameters

  • luaTable - to store named parameters

Obligatory named parameters

  • pKLPartialGroupSetting : KLPartialGroupSetting - to which this attribute setting belongs
  • pAttribute : Attribute - on which this attribute setting reffers to

Optional named parameters

  • nOrder : integer - position of the attribute setting in the list of settings of its partial group

Properties List

Attribute  the Attribute, this KL-attribute setting refers to
ID  Unique identifier (primary key) of the object
KLPartialGroupSetting  the KLPartialGroupSetting, this setting belongs to
Note  Additional note to this partial cedent
Order  Order-index of this KL-attribute setting in the list of its KLPartialGroupSetting

Methods List

canDel () Returns true if the object could be deleted (is not used)
getAttribute () Returns the Attribute, the attribute this setting is based upon, the value of Attribute property
getID () Returns unique identifier (primary key) of the object
getKLPartialGroupSetting () Returns the KLPartialGroupSetting, the partial cedent this AttributeSetting belongs to, the value of KLPartialGroupSetting property
getNote () Returns the value of Note property
getOrder () Returns the value of Order property
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
setAttribute () Sets the Attribute, the attribute this setting is based upon, the value of Attribute property
setNote () Sets the value of Note property
setOrder () Sets the value of Order property

Properties

Attribute  (read-only) : Attribute
the Attribute, this KL-attribute setting refers to
ID  (read-only) : integer
Unique identifier (primary key) of the object
Intherited from: LMWrap
KLPartialGroupSetting  (read-only) : KLPartialGroupSetting
the KLPartialGroupSetting, this setting belongs to
Note : string
Additional note to this partial cedent
Order : integer
Order-index of this KL-attribute setting in the list of its KLPartialGroupSetting

Methods

canDel() : boolean
Returns true if the object could be deleted (is not used)
Intherited from: LMWrap

Returns

  • boolean
getAttribute() : Attribute
Returns the Attribute, the attribute this setting is based upon, the value of Attribute property

Returns

getID() : integer
Returns unique identifier (primary key) of the object
Intherited from: LMWrap

Returns

  • integer
getKLPartialGroupSetting() : KLPartialGroupSetting
Returns the KLPartialGroupSetting, the partial cedent this AttributeSetting belongs to, the value of KLPartialGroupSetting property

Returns

getNote() : string
Returns the value of Note property

Returns

  • string
getOrder() : integer
Returns the value of Order property

Returns

  • integer
onAdd()
Store the newly created object into metabase
Intherited from: LMWrap
onDel()
Delete the object from metabase (fails if canDel returns false)
Intherited from: LMWrap
onUpdate()
Save changes made to the object into metabase
Intherited from: LMWrap
setAttribute( Attribute )
Sets the Attribute, the attribute this setting is based upon, the value of Attribute property

Parameters

setNote( string )
Sets the value of Note property

Parameters

  • string
setOrder( integer )
Sets the value of Order property

Parameters

  • integer