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
Methods List
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
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
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
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