LISp-Miner Control Language Reference, version: 27.15.01 of 27 Oct 2017

Class MCAttributeSetting

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

Constructor

MCAttributeSetting()
Creates a new object of this class

Parameters

  • luaTable - to store named parameters

Obligatory named parameters

  • pMCPartialGroupSetting : MCPartialGroupSetting - to which this attribute setting belongs
  • pAttribute : Attribute - that which this attribute setting refers to

Optional named parameters

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

Properties List

Attribute  the Attribute, this setting refers to
CategoryFractionFlag  Whether centroids categories fractions allowed (for 'mean' computation)
ID  Unique identifier (primary key) of the object
MCPartialGroupSetting  the MCPartialGroupSetting, this setting belongs to
Note  Additional note to this setting
Order  Order-index of this setting in the list of MCPartialGroupSetting
Weight  This attribute weight for 'mean' computation

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
getMCCenterTypeCode () Returns code of center-calculation type for this attribute, see MCCenterType codes
getMCCenterTypeKey () Returns unique string key of center-calculation type for this attribute
getMCCenterTypeName () Returns string representation of center-calculation type for this attribute
getMCPartialGroupSetting () Returns the MCPartialGroupSetting, the partial cedent this setting belongs to, the value of MCPartialGroupSetting property
getNote () Returns the value of Note property
getOrder () Returns the value of Order property
isCategoryFractionFlag () Returns the value of CategoryFractionFlag 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
setCategoryFractionFlag () Sets the value of CategoryFractionFlag property
setMCCenterTypeCode () Sets code of center-calculation type for this attribute, see MCCenterType codes
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
CategoryFractionFlag : boolean
Whether centroids categories fractions allowed (for 'mean' computation)
ID  (read-only) : integer
Unique identifier (primary key) of the object
Intherited from: LMWrap
MCPartialGroupSetting  (read-only) : MCPartialGroupSetting
the MCPartialGroupSetting, this setting belongs to
Note : string
Additional note to this setting
Order : integer
Order-index of this setting in the list of MCPartialGroupSetting
Weight : float
This attribute weight for 'mean' computation

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
getMCCenterTypeCode() : integer
Returns code of center-calculation type for this attribute, see MCCenterType codes

Returns

  • integer
getMCCenterTypeKey() : string
Returns unique string key of center-calculation type for this attribute

Returns

  • string
getMCCenterTypeName() : string
Returns string representation of center-calculation type for this attribute

Returns

  • string
getMCPartialGroupSetting() : MCPartialGroupSetting
Returns the MCPartialGroupSetting, the partial cedent this setting belongs to, the value of MCPartialGroupSetting property

Returns

getNote() : string
Returns the value of Note property

Returns

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

Returns

  • integer
isCategoryFractionFlag() : boolean
Returns the value of CategoryFractionFlag property

Returns

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

setCategoryFractionFlag( boolean )
Sets the value of CategoryFractionFlag property

Parameters

  • boolean
setMCCenterTypeCode( integer )
Sets code of center-calculation type for this attribute, see MCCenterType codes

Parameters

  • integer
setNote( string )
Sets the value of Note property

Parameters

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

Parameters

  • integer