CategoryInterval
CategoryInterval()
luaTable
- to store named parameters
name
: string
- unique name for the new CF-Miner Category
pAttribute
: Attribute
- attribute this category belongs to
nOrder
: integer
- position of this category in the list of categories of its attribute
Attribute | the Attribute, this category belongs to |
Frequency | Number of objects of analyzed data matrix belonging to this category (calls calcCategoryFrequencies if necessary) |
ID | Unique identifier (primary key) of the object |
IncludeNullFlag | If this category covers NULL-values |
IncludeNULLFlag | If this category covers NULL-values |
IntervalCount | Number of defined intervals |
Name | Unique name of this object. Cannot be empty. |
NameHTML | HTML representation of this category |
Note | Text comment to this object (up to 255 characters) |
Order | Order-index of the category in array of categories of its attribute |
XCategoryFlag | If this category is the X-Category |
canDel () | Returns true if the object could be deleted (is not used) |
findInterval () | Tries to look-up a Interval with a unique property given as parameter. Just one parameter has to be specified. Returns nil if Interval with this property doesn't exists. |
getAttribute () | Returns the Attribute this category belongs to, the value of Attribute property |
getCategorySubTypeCode () | Returns code of sub-type of category, see CategorySubType codes |
getCategorySubTypeKey () | Returns unique string key of sub-type of category |
getCategorySubTypeName () | Returns string representation of sub-type of category |
getFrequency () | Returns the value of Frequency property (calls calcCategoryFrequencies if necessary) |
getID () | Returns unique identifier (primary key) of the object |
getIntervalCount () | Returns the value of IntervalCount property |
getName () | Returns the value of Name property, name of this object |
getNameDefault () | Returns default name for this category |
getNote () | Returns the value of Note property |
getOrder () | Returns the value of Order property |
getRowCount () | Returns the value of Frequency property (calls calcCategoryFrequencies if necessary) |
isIncludeNullFlag () | Returns the value of IncludeNullFlag property |
isIncludeNULLFlag () | Returns the value of IncludeNullFlag property |
isRowInCategory () | Returns true if the value in database row identified by its index and the corresponding column belongs to this category (calls calcCategoryFrequencies if necessary) |
isXCategoryFlag () | Returns the value of XCategoryFlag 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 |
prepareIntervalArray () | Returns array of Intervals (intervals in this category) |
setIncludeNULLFlag () | Sets the value of IncludeNullFlag property |
setIncludeNullFlag () | Sets the value of IncludeNullFlag property |
setName () | Sets the value of Name property, name of this object (must be unique) |
setNote () | Sets the value of Note property |
setOrder () | Sets the value of Order property |
setXCategoryFlag () | Sets the value of XCategoryFlag property |
Attribute
(read-only) : AttributeFrequency
(read-only) : integerID
(read-only) : integerIncludeNullFlag
: booleanIncludeNULLFlag
: booleanIntervalCount
(read-only) : integerName
: stringNameHTML
(read-only) : stringNote
: stringOrder
(read-only) : integerXCategoryFlag
: booleancanDel() : boolean
boolean
findInterval() : Interval
nil
if Interval with this property doesn't exists.
luaTable
- to store named parameters
nID
: integer
- an ID of the Interval to look-up
Interval
- or nil
getAttribute() : Attribute
getCategorySubTypeCode() : integer
integer
getCategorySubTypeKey() : string
string
getCategorySubTypeName() : string
string
getFrequency() : integer
integer
getID() : integer
integer
getIntervalCount() : integer
integer
getName() : string
string
getNameDefault() : string
string
getNote() : string
string
getOrder() : integer
integer
getRowCount() : integer
integer
isIncludeNullFlag() : boolean
boolean
isIncludeNULLFlag() : boolean
boolean
isRowInCategory()
integer
- index of a database table row
boolean
isXCategoryFlag() : boolean
boolean
onAdd()
onDel()
onUpdate()
prepareIntervalArray() : luaTable
luaTable
setIncludeNULLFlag( boolean )
boolean
setIncludeNullFlag( boolean )
boolean
setName( string )
string
- cannot be emptysetNote( string )
string
setOrder( integer )
integer
setXCategoryFlag( boolean )
boolean