com.microstrategy.web.objects.WebRankMetric |
The WebRankMetric interface represents a rank metric object.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract WebObjectInfo |
getBreakByUnit()
Returns the unit over which the rank will be performed.
| ||||||||||
abstract WebMetric |
getMetric()
Returns the
WebMetric object whose values should be ranked. | ||||||||||
abstract boolean |
isAscending()
Returns whether the ranking is ascending(true) or descending(false).
| ||||||||||
abstract boolean |
isDynamic()
Returns whether the ranking should be dynamic (values of the metric change
when report is pivoted) or static (values of the metric are moved, but not
changed when is pivoted).
| ||||||||||
abstract void |
setAscending(boolean ascending)
Sets whether the ranking should be ascending or descending.
| ||||||||||
abstract void |
setBreakByUnit(WebObjectInfo object)
Sets the unit over which the rank will be performed.
| ||||||||||
abstract void |
setDynamic(boolean dynamic)
Sets whether the ranking should be dynamic or static.
|
Returns the unit over which the rank will be performed. This translates into the "break-by" level of the ranking metric. Default value is null.
WebObjectInfo
object which has the break by unit information.Returns whether the ranking is ascending(true) or descending(false). Default value is true.
Returns whether the ranking should be dynamic (values of the metric change when report is pivoted) or static (values of the metric are moved, but not changed when is pivoted).
Sets whether the ranking should be ascending or descending.
ascending | This should be true if the ranking should be ascending, false otherwise |
---|
Sets the unit over which the rank will be performed.
object | The WebObjectInfo object that contains the information about
the break by unit. It has to be contained in the template. |
---|
IllegalArgumentException | Thrown if the WebObjectInfo object
does not exist in the template. |
---|
Sets whether the ranking should be dynamic or static.
dynamic | This should be true if the ranking should be dynamic, false otherwise. |
---|