FTPartialCedentSetting
FTPartialCedentSetting()luaTable - to store named parameters
pTask : Task - to which this cedent setting belongs
nCedentTypeCode : integer - CedentType code to identify the Partial cedent to find
name : string - optional name description for the new partial cedent
nOrder : integer - position of the partial cedent in the list of partial cedents of its whole cedent
| Description | Textual description of this partial cedent. Deprecated! |
| ID | Unique identifier (primary key) of the object |
| MaxLen | Maximal length of the partial cedent |
| MinLen | Minimal length of the partial cedent |
| Name | Textual description of this partial cedent |
| Note | Additional note to this partial cedent |
| Order | Order-index of this partial cedent in array of partial cedent of its FTWholeCedentSetting |
| Task | the Task, this partial cedent belongs to |
| canDel () | Returns true if the object could be deleted (is not used) |
| findFTLiteralSetting () | Tries to look-up a FTLiteralSetting with a unique property given as parameter. Just one parameter has to be specified. Returns nil if FTLiteralSetting with this property doesn't exists. |
| getBoolOpTypeCode () | Returns code of literals boolean type (conjunction or disjunction) for this partial cedent, see BoolOpType codes |
| getBoolOpTypeKey () | Returns unique string key of literals boolean type (conjunction or disjunction) for this partial cedent |
| getBoolOpTypeName () | Returns string representation of literals boolean type (conjunction or disjunction) for this partial cedent |
| getCedentTypeCode () | Returns code of type of cedent, see CedentType codes |
| getCedentTypeKey () | Returns unique string key of type of cedent |
| getCedentTypeName () | Returns string representation of type of cedent |
| getDescription () | Returns the value of Description property |
| getFTLiteralSettingCount () | Returns number of literal Setting in this partial cedent |
| getID () | Returns unique identifier (primary key) of the object |
| getMaxLen () | Returns the value of MaxLen property |
| getMaxLenReal () | Returns the real maximal length (after considering maximal lengths of all its partial cedents) |
| getMinLen () | Returns the value of MinLen property |
| getMinLenReal () | Returns the real minimal length (after considering minimal lengths of all its partial cedents) |
| getName () | Returns the value of Name property |
| getNote () | Returns the value of Note property |
| getOrder () | Returns the value of Order property |
| getTask () | Returns the Task this partial cedent setting belongs to, the value of Task property |
| onAdd () | Store the newly created object into metabase |
| onDel () | Delete the object from metabase (fails if canDel returns false) |
| onUpdate () | Save changes made to the object into metabase |
| prepareFTLiteralSettingArray () | Returns array of FTLiteralSettings (literals in this partial cedent) |
| setBoolOpTypeCode () | Sets code of literals boolean type (conjunction or disjunction) for this partial cedent, see BoolOpType codes |
| setDescription () | Sets the value of Description property |
| setMaxLen () | Sets the value of MaxLen property |
| setMinLen () | Sets the value of MinLen property |
| setName () | Sets the value of Name property |
| setNote () | Sets the value of Note property |
| setOrder () | Sets the value of Order property |
Description : stringID (read-only) : integerMaxLen : integerMinLen : integerName : stringNote : stringOrder : integerTask (read-only) : TaskcanDel() : booleanbooleanfindFTLiteralSetting() : FTLiteralSettingnil if FTLiteralSetting with this property doesn't exists.
luaTable - to store named parameters
nID : integer - an ID of the FTLiteralSetting to look-up
pAttribute : Attribute - the literal should be based on (return the first literal matching the condition)
FTLiteralSetting - or nilgetBoolOpTypeCode() : integerintegergetBoolOpTypeKey() : stringstringgetBoolOpTypeName() : stringstringgetCedentTypeCode() : integerintegergetCedentTypeKey() : stringstringgetCedentTypeName() : stringstringgetDescription() : stringstringgetFTLiteralSettingCount() : integerintegergetID() : integerintegergetMaxLen() : integerintegergetMaxLenReal() : integerintegergetMinLen() : integerintegergetMinLenReal() : integerintegergetName() : stringstringgetNote() : stringstringgetOrder() : integerintegergetTask() : TaskonAdd()onDel()onUpdate()prepareFTLiteralSettingArray() : luaTableluaTablesetBoolOpTypeCode( integer )integersetDescription( string )stringsetMaxLen( integer )integersetMinLen( integer )integersetName( string )stringsetNote( string )stringsetOrder( integer )integer