Attribute category (enumeration of values or discretized interval)
inherits from
LMWrapName
namespace:
lm.prepro
Constructor
No constructor available. Objects of this class could not be instantiated from Lua scripts.
Properties List
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 |
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 |
Methods List
Properties
Attribute
(read-only) : Attribute
-
the Attribute, this category belongs to
Frequency
(read-only) : integer
-
Number of objects of analyzed data matrix belonging to this category (calls calcCategoryFrequencies if necessary)
ID
(read-only) : integer
-
Unique identifier (primary key) of the object
Intherited from: LMWrap
IncludeNullFlag
: boolean
-
If this category covers NULL-values
IncludeNULLFlag
: boolean
-
If this category covers NULL-values
Name
: string
-
Unique name of this object. Cannot be empty.
Intherited from: LMWrapName
NameHTML
(read-only) : string
-
HTML representation of this category
Note
: string
-
Text comment to this object (up to 255 characters)
Intherited from: LMWrapName
Order
(read-only) : integer
-
Order-index of the category in array of categories of its attribute
XCategoryFlag
: boolean
-
If this category is the X-Category
Methods
canDel() : boolean
-
Returns true if the object could be deleted (is not used)
Intherited from: LMWrap
Returns
getAttribute() : Attribute
-
Returns the Attribute this category belongs to, the value of Attribute property
Returns
getCategorySubTypeCode() : integer
-
Returns code of sub-type of category, see CategorySubType codes
Returns
getCategorySubTypeKey() : string
-
Returns unique string key of sub-type of category
Returns
getCategorySubTypeName() : string
-
Returns string representation of sub-type of category
Returns
getFrequency() : integer
-
Returns the value of Frequency property (calls calcCategoryFrequencies if necessary)
Returns
getID() : integer
-
Returns unique identifier (primary key) of the object
Intherited from: LMWrap
Returns
getName() : string
-
Returns the value of Name property, name of this object
Intherited from: LMWrapName
Returns
getNameDefault() : string
-
Returns default name for this category
Returns
getNote() : string
-
Returns the value of Note property
Intherited from: LMWrapName
Returns
getOrder() : integer
-
Returns the value of Order property
Returns
getRowCount() : integer
-
Returns the value of Frequency property (calls calcCategoryFrequencies if necessary)
Returns
isIncludeNullFlag() : boolean
-
Returns the value of IncludeNullFlag property
Returns
isIncludeNULLFlag() : boolean
-
Returns the value of IncludeNullFlag property
Returns
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)
Parameters
-
integer
- index of a database table row
Returns
isXCategoryFlag() : boolean
-
Returns the value of XCategoryFlag 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
setIncludeNullFlag( boolean )
-
Sets the value of IncludeNullFlag property
Parameters
setIncludeNULLFlag( boolean )
-
Sets the value of IncludeNullFlag property
Parameters
setName( string )
-
Sets the value of Name property, name of this object (must be unique)
Intherited from: LMWrapName
Parameters
setNote( string )
-
Sets the value of Note property
Intherited from: LMWrapName
Parameters
setOrder( integer )
-
Sets the value of Order property
Parameters
setXCategoryFlag( boolean )
-
Sets the value of XCategoryFlag property
Parameters