public class BLMeasureInfo
extends java.lang.Object
Measure
object of Logi Report BusinessLogic.
The BusinessLogic of Logi Report is also called Business cube
or Report cube
.
Measure objects are numeric cube elements that are calculated dynamically at run time. Measures can be used alone or calculated with other fields. A measure object can be inserted wherever a summary can be inserted. For instance, it can be inserted into the group header or footer panel in a table or banded object, or into a crosstab as an aggregate field. A measure object can also be used as a detail field in a banded object or table although it will display the same aggregate value for every detail line. Logi Report calculates values based on the group level at which the measure object is inserted such as total sales, average order size and number of orders from a customer.
Constructor and Description |
---|
BLMeasureInfo(java.lang.String refMappingName,
java.lang.String measureName)
Constructor.
|
BLMeasureInfo(java.lang.String field,
java.lang.String function,
java.lang.String measureName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addDetailInfo(BLDetailInfo detailInfo)
Adds a Logi Report BusinessLogic Detail definition into the Measure.
|
java.lang.String |
getAggField()
Gets the Aggregate field name of the Measure.
|
java.lang.String |
getAggFunction()
Gets the Aggregate function name of the Measure.
|
java.lang.String |
getDescription()
Gets the description of the Measure.
|
BLDetailInfo[] |
getDetailInfos()
Gets Detail definitions of the Measure.
|
java.lang.String |
getDisplayName()
Gets the display name of the Measure.
|
java.lang.String |
getName()
Gets the name of the Measure.
|
java.lang.String |
getPrompt()
Gets the prompt text of the Measure.
|
java.lang.String |
getRefMappingName()
Deprecated.
|
void |
setAggField(java.lang.String field)
Sets the Aggregate field name of the Measure.
|
void |
setAggFunction(java.lang.String function)
Sets the Aggregate function name of the Measure.
|
void |
setDescription(java.lang.String description)
Sets the description of the Measure.
|
void |
setDisplayName(java.lang.String displayName)
Sets the display name of the Measure.
|
void |
setName(java.lang.String name)
Sets the name of the Measure.
|
void |
setPrompt(java.lang.String prompt)
Sets the prompt text of the Measure.
|
void |
setRefMappingName(java.lang.String mappingName)
Sets the summary's referred resource name of the Measure.
|
public BLMeasureInfo(java.lang.String refMappingName, java.lang.String measureName)
measureName
- Indicates the Measure name.refMappingName
- Indicates the summary field resource(mapping) name referred by the Measure.public BLMeasureInfo(java.lang.String field, java.lang.String function, java.lang.String measureName)
measureName
- Indicates the Measure name.field
- Indicates the field resource name of the Measure.function
- Indicates the function name of the Measure.public void setDisplayName(java.lang.String displayName)
displayName
- The display name of the Measure.public java.lang.String getDisplayName()
public void setDescription(java.lang.String description)
description
- The description of the Measure.public java.lang.String getDescription()
public void setPrompt(java.lang.String prompt)
prompt
- The prompt text of the Measure.public java.lang.String getPrompt()
public void setName(java.lang.String name)
name
- The name of the Measure.public java.lang.String getName()
public void setRefMappingName(java.lang.String mappingName)
mappingName
- The referred resource name of the summary.public java.lang.String getRefMappingName()
null
if this information is created by an existing Aggregation.public void setAggFunction(java.lang.String function)
function
- The Aggregate function name.public java.lang.String getAggFunction()
public void setAggField(java.lang.String field)
field
- The Aggregate field name.public java.lang.String getAggField()
public BLDetailInfo[] getDetailInfos()
public void addDetailInfo(BLDetailInfo detailInfo)
detailInfo
- The Detail definition that will be created in the Measure.