Set of parameters for a CF-attribute.
inherits from
LMWrap
namespace:
lm.tasks.settings
Constructor
CFAttributeSetting()
-
Creates a new object of this class
Parameters
-
luaTable
- to store named parameters
Obligatory named parameters
-
pCFPartialGroupSetting
: CFPartialGroupSetting
- to which this attribute setting belongs
-
pAttribute
: Attribute
- that this attribute setting refers 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 CF-attribute setting refers to
CFPartialGroupSetting
(read-only) : CFPartialGroupSetting
-
the CFPartialGroupSetting, this setting belongs to
ID
(read-only) : integer
-
Unique identifier (primary key) of the object
Intherited from: LMWrap
Note
: string
-
Additional note to this partial cedent
Order
: integer
-
Order-index of this CF-attribute setting in the list its CFPartialGroupSetting
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
getCFPartialGroupSetting() : CFPartialGroupSetting
-
Returns the CFPartialGroupSetting, the partial cedent this AttributeSetting belongs to, the value of CFPartialGroupSetting 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