Actuate Information Console reference : BIRT Data Analyzer API classes : Class actuate.xtabanalyzer.LevelAttribute
 
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 5‑12 lists actuate.xtabanalyzer.LevelAttribute functions.
Table 5‑12 actuate.xtabanalyzer.Level functions 
Function
Description
getName( )
Returns the level attribute name
setName( )
Sets the level attribute name
actuate.xtabanalyzer.LevelAttribute.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( );
actuate.xtabanalyzer.LevelAttribute.setName
Syntax
void LevelAttribute.setName(string attributeName)
Sets the level attribute name.
Parameters
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 );