Class
FTWholeCedentSetting
Set of parameters describing all possible FT cedents (derived boolean attributes) that should be generated and veryfied in the analyzed data. Each FT-cedent consists of conjunctions of FT-partial cedents.
inherits from
LMWrap
namespace:
lm.tasks.settings
Constructor
No constructor available. Objects of this class could not be instantiated from Lua scripts.
Properties List
ID |
Unique identifier (primary key) of the object |
MaxLen |
Maximal length of the whole cedent |
MinLen |
Minimal length of the whole cedent |
Task |
the Task, this cedent belongs to |
Methods List
Properties
ID
(read-only) : integer
-
Unique identifier (primary key) of the object
Intherited from: LMWrap
MaxLen
: integer
-
Maximal length of the whole cedent
MinLen
: integer
-
Minimal length of the whole cedent
Task
(read-only) : Task
-
the Task, this cedent belongs to
Methods
canDel() : boolean
-
Returns true if the object could be deleted (is not used)
Intherited from: LMWrap
Returns
findFTPartialCedentSetting() : FTPartialCedentSetting
-
Tries to look-up a FTPartialCedentSetting with a unique property given as parameter. Just one parameter has to be specified. Returns
nil
if FTPartialCedentSetting with this property doesn't exists.
Parameters
-
luaTable
- to store named parameters
Obligatory named parameters
-
nID
: integer
- an ID of the FTPartialCedentSetting to look-up
Returns
getCedentTypeCode() : integer
-
Returns code of type of cedent, see CedentType codes
Returns
getCedentTypeKey() : string
-
Returns unique string key of type of cedent
Returns
getCedentTypeName() : string
-
Returns string representation of type of cedent
Returns
getFTPartialCedentSettingCount() : integer
-
Returns number of partial cedents in this cedent
Returns
getID() : integer
-
Returns unique identifier (primary key) of the object
Intherited from: LMWrap
Returns
getMaxLen() : integer
-
Returns the value of MaxLen property
Returns
getMaxLenReal() : integer
-
Returns the real maximal length (after considering maximal lengths of all its partial cedents)
Returns
getMinLen() : integer
-
Returns the value of MinLen property
Returns
getMinLenReal() : integer
-
Returns the real minimal length (after considering minimal lengths of all its partial cedents)
Returns
getTask() : Task
-
Returns the Task this whole cedent setting belongs to, the value of Task 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
prepareFTPartialCedentSettingArray() : luaTable
-
Returns array of FTPartialCedentSettings (partial cedents setting in this whole cedent setting)
Returns
setMaxLen( integer )
-
Sets the value of MaxLen property
Parameters
setMinLen( integer )
-
Sets the value of MinLen property
Parameters