LISp-Miner Control Language Reference, version: 27.13.01 of 25 Aug 2017

Class ETAttributeSetting

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

Constructor

ETAttributeSetting()
Creates a new object of this class

Parameters

  • luaTable - to store named parameters

Obligatory named parameters

  • pETPartialGroupSetting : ETPartialGroupSetting - to which this attribute setting belongs
  • pAttribute : Attribute - that which this attribute setting refers to

Optional named parameters

  • nAttributeBinarizeTypeCode : integer - AttributeBinarizeType code to define possible type of automatic binarization of categories of this attribute
  • nOrder : integer - position of the attribyte setting in the list of its partial group

Properties List

Attribute  the Attribute, this setting refers to
ETPartialGroupSetting  the ETPartialGroupSetting, this setting belongs to
ID  Unique identifier (primary key) of the object
Note  Additional note to this setting
Order  Order-index of this setting in the list of ETPartialGroupSetting

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
getETPartialGroupSetting () Returns the ETPartialGroupSetting, the partial cedent this setting belongs to, the value of ETPartialGroupSetting property
getID () Returns unique identifier (primary key) of the object
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 setting refers to
ETPartialGroupSetting  (read-only) : ETPartialGroupSetting
the ETPartialGroupSetting, this setting belongs to
ID  (read-only) : integer
Unique identifier (primary key) of the object
Intherited from: LMWrap
Note : string
Additional note to this setting
Order : integer
Order-index of this setting in the list of ETPartialGroupSetting

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

getETPartialGroupSetting() : ETPartialGroupSetting
Returns the ETPartialGroupSetting, the partial cedent this setting belongs to, the value of ETPartialGroupSetting property

Returns

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

Returns

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