Class actuate.xtabanalyzer.LevelAttribute
Description
Defines an attribute for a level.
Constructor
Syntax
actuate.xtabanalyzer.LevelAttribute( )
Creates a cross tab level attribute object.
Function summary
Table 8‑12 lists actuate.xtabanalyzer.LevelAttribute functions.
Table 8‑12 actuate.xtabanalyzer.Level functions
Function
Description
Returns the level attribute name
Sets the level attribute name
getName
Syntax
string LevelAttribute.getName( )
Returns the level attribute name.
Returns
String. A level attribute name.
Example
This example retrieves the level attribute name and stores it in a variable attname:
var attname = levelattribute.getName( );
setName
Syntax
void LevelAttribute.setName(string attributeName)
Sets the level attribute name.
Parameter
attributeName
String. The level attribute name.
Example
This example sets a name for newly created level attribute and assigns the attribute to a level:
var attribute = new actuate.xtabanalyzer.LevelAttribute( );
attribute.setName("pounds");
level.addLevelAttribute( attribute );