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
Methods List
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
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
getNote() : string
-
Returns the value of Note property
Returns
getOrder() : integer
-
Returns the value of Order property
Returns
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
setOrder( integer )
-
Sets the value of Order property
Parameters