public class BusinessViewCategoryInfo extends BLCategoryInfo
Category
object of Logi Report Business View.
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.
Organizing data required by a user into multiple categories or multiple levels of categories is meaningful, and makes it easy to understand the data. End users can use categories to find data elements they need to use without knowing the underlying table names although sometimes the table names are used as categories.
The BusinessViewCategoryInfo class contains the methods for adding Detail, Group and Aggregation objects into the Category. The normal workflow is to get a handle to the query node where you want to create the Business View meta-data, insert the Business View, add the Category then add the details, groups and aggregations you want in the category.
1. catalogAPI.getQueries(...)
2. String bvHandle = catalogAPI.insertBusinessView(...)
3. BusinessViewCategoryInfo bvc = new BusinessViewCategoryInfo(...)
4. bvc.addBVGroup(...), bvc.addBVAggregation(...), bvc.addBVDetail(...)
5. catalogAPI.insertBusinessViewCategory(bvHandle, bvc)
Constructor and Description |
---|
BusinessViewCategoryInfo(java.lang.String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addBVAggregation(BVAggregationInfo aggInfo)
Adds a Logi Report BusinessView Aggregation definition into the category.
|
void |
addBVCategory(BusinessViewCategoryInfo categoryInfo)
Adds a Logi Report BusinessView Category definition into the category.
|
void |
addBVDetail(BVDetailInfo detailInfo)
Adds a Logi Report BusinessView Detail definition into the category.
|
void |
addBVGroup(BVGroupInfo bvGroupInfo)
Adds a Logi Report BusinessView Group into the category.
|
void |
addCategory(BLCategoryInfo categoryInfo)
Deprecated.
Since v10, replaced by
addBVCategory . |
void |
addDetailInformation(BLDetailInfo detailInfo)
Deprecated.
Since v10, replaced by
addBVDetail . |
void |
addDimension(BLDimensionInfo dimensionInfo)
Deprecated.
Since v10, replaced by
addBVGroup . |
void |
addMeasure(BLMeasureInfo measureInfo)
Deprecated.
Since v10, replaced by
addBVAggregation . |
BVAggregationInfo[] |
getAggregation()
Gets Measure definitions in the Category.
|
BusinessViewCategoryInfo[] |
getBVCategories()
Gets subcategory definitions in the Category.
|
BVDetailInfo[] |
getBVDetailInfos()
Gets Detail definitions in the Category.
|
BVGroupInfo[] |
getGroups()
Gets Group definitions in the Category.
|
getCategories, getDescription, getDetailInfos, getDimensions, getDisplayName, getMeasures, getName, setDescription, setDisplayName, setName
public BusinessViewCategoryInfo(java.lang.String name)
name
- Indicates the category name.public void addDimension(BLDimensionInfo dimensionInfo)
addBVGroup
.addDimension
in class BLCategoryInfo
dimensionInfo
- The dimension definition that will be created in the category.public void addBVGroup(BVGroupInfo bvGroupInfo)
bvGroupInfo
- The Group definition that will be created in the category or the BusinessView.public BVGroupInfo[] getGroups()
public void addMeasure(BLMeasureInfo measureInfo)
addBVAggregation
.addMeasure
in class BLCategoryInfo
measureInfo
- The Measure definition that will be created in the category.public void addBVAggregation(BVAggregationInfo aggInfo)
aggInfo
- The Aggregation definition that will be created in the category.public BVAggregationInfo[] getAggregation()
public void addDetailInformation(BLDetailInfo detailInfo)
addBVDetail
.addDetailInformation
in class BLCategoryInfo
detailInfo
- The Detail definition that will be created in the category.public void addBVDetail(BVDetailInfo detailInfo)
detailInfo
- The Detail definition that will be created in the category.public BVDetailInfo[] getBVDetailInfos()
public void addCategory(BLCategoryInfo categoryInfo)
addBVCategory
.addCategory
in class BLCategoryInfo
categoryInfo
- The Category definition that will be created in the category.public void addBVCategory(BusinessViewCategoryInfo categoryInfo)
categoryInfo
- The Category definition that will be created in the category.public BusinessViewCategoryInfo[] getBVCategories()