Basic boolean attribute, combination of an multi-categorial attribute and one or more of its categories in coefficient
inherits from
LMWrap
namespace:
lm.tasks.results
Constructor
No constructor available. Objects of this class could not be instantiated from Lua scripts.
Properties List
Methods List
Properties
Attribute
(read-only) : Attribute
-
the Attribute this literal is based upon
CategoryCount
(read-only) : string
-
Number of categories in coefficient
CoefficientSize
(read-only) : string
-
Number of categories in coefficient (alias for the value of CategoryCount property)
ID
(read-only) : integer
-
Unique identifier (primary key) of the object
Intherited from: LMWrap
NegationFlag
(read-only) : boolean
-
Whether this literal has logical negation prefix
Text
(read-only) : string
-
Textual representation of this literal
Methods
findCategory() : Category
-
Tries to look-up a Category with a unique property given as parameter. Just one parameter has to be specified. Returns
nil
if Category with this property doesn't exists.
Parameters
-
luaTable
- to store named parameters
Optional named parameters
-
nID
: integer
- an ID of the category to look-up
-
name
: string
- a name of the category to look-up
Returns
getAttribute() : Attribute
-
Returns the Attribute, the Attribute this literal is based upon
Returns
getCategoryCount() : integer
-
Returns the value of CategoryCount property
Returns
getFTLiteralSetting() : FTLiteralSetting
-
Returns the FTLiteralSetting, the FTLiteralSetting this literal is based upon
Returns
getFTPartialCedent() : FTPartialCedent
-
Returns the FTPartialCedent, the partial cedent this literal belongs to
Returns
getID() : integer
-
Returns unique identifier (primary key) of the object
Intherited from: LMWrap
Returns
prepareCategoryArray() : luaTable
-
Returns array of Category'ies composing coefficient of this literal
Returns