public class BLCategoryInfo
extends java.lang.Object
Category object of Logi Report BusinessLogic.
The BusinessLogic of Logi Report is also called Business Cube or Report Cube.
Categories are the main tools for organizing data. They are components which correspond to particular collections of data in the data source. They are grouped in folders that are named to reflect information collections. A category can contain any number of subcategories. All contents of a BusnessLogic must be inside a category including categories, datainformations, dimensions and measures.
The BLCategoryInfo class contains the methods for adding DetailInformation, Dimension and Measure objects into the Category. The normal workflow is to get a handle to the query node where you want to create the BusinessLogic meta-data, insert the BusinessLogic, add the category then add the detailinformations, dimensions and measures you want in the category.
1. catalog.getQueries(...)
2. catalog.insertBusinessView(...)
3. new BLCategoryInfo(...)
4. addDimension(...), addMeasure(...), addDetailInformation(...)
5. insertBLCategory(...)
| Constructor and Description |
|---|
BLCategoryInfo(java.lang.String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCategory(BLCategoryInfo categoryInfo)
Adds a Logi Report BusinessLogic Category definition into the category.
|
void |
addDetailInformation(BLDetailInfo detailInfo)
Adds a Logi Report BusinessLogic Detail definition into the category.
|
void |
addDimension(BLDimensionInfo dimensionInfo)
Adds a Logi Report BusinessLogic Dimension into the category.
|
void |
addMeasure(BLMeasureInfo measureInfo)
Adds a Logi Report BusinessLogic Measure definition into the category.
|
BLCategoryInfo[] |
getCategories()
Gets subcategory definitions of the Category.
|
java.lang.String |
getDescription()
Gets the description of the category.
|
BLDetailInfo[] |
getDetailInfos()
Gets Detail definitions of the Category.
|
BLDimensionInfo[] |
getDimensions()
Gets Dimension definitions of the Category.
|
java.lang.String |
getDisplayName()
Gets the display name of the category.
|
BLMeasureInfo[] |
getMeasures()
Gets Measure definitions of the Category.
|
java.lang.String |
getName()
Gets the name of the category.
|
void |
setDescription(java.lang.String description)
Sets the description of the category.
|
void |
setDisplayName(java.lang.String displayName)
Sets the display name of the category.
|
void |
setName(java.lang.String name)
Sets the name of the category.
|
public BLCategoryInfo(java.lang.String name)
name - Indicates the category name.public void setDescription(java.lang.String description)
description - The description of the category.public java.lang.String getDescription()
public void setName(java.lang.String name)
name - The name of the category.public java.lang.String getName()
public void setDisplayName(java.lang.String displayName)
displayName - The display name of the category.public java.lang.String getDisplayName()
public void addDimension(BLDimensionInfo dimensionInfo)
dimensionInfo - The dimension definition that will be created in the category.public BLDimensionInfo[] getDimensions()
public void addMeasure(BLMeasureInfo measureInfo)
measureInfo - The Measure definition that will be created in the category.public BLMeasureInfo[] getMeasures()
public void addDetailInformation(BLDetailInfo detailInfo)
detailInfo - The Detail definition that will be created in category.public BLDetailInfo[] getDetailInfos()
public void addCategory(BLCategoryInfo categoryInfo)
categoryInfo - The Category definition that will be created in the category.public BLCategoryInfo[] getCategories()