Package com.microstrategy.web.objects
Interface WebRankMetric
- 
 public interface WebRankMetricThe WebRankMetric interface represents a rank metric object.- Since:
- MicroStrategy Web 7.3.1 or earlier
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description WebObjectInfogetBreakByUnit()Returns the unit over which the rank will be performed.WebMetricgetMetric()Returns theWebMetricobject whose values should be ranked.booleanisAscending()Returns whether the ranking is ascending(true) or descending(false).booleanisDynamic()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).voidsetAscending(boolean ascending)Sets whether the ranking should be ascending or descending.voidsetBreakByUnit(WebObjectInfo object)Sets the unit over which the rank will be performed.voidsetDynamic(boolean dynamic)Sets whether the ranking should be dynamic or static.
 
- 
- 
- 
Method Detail- 
getMetricWebMetric getMetric() Returns theWebMetricobject whose values should be ranked.- Returns:
- The WebMetricobject whose values should be ranked.
 
 - 
isAscendingboolean isAscending() Returns whether the ranking is ascending(true) or descending(false). Default value is true.- Returns:
- Whether the ranking is ascending or descending.
 
 - 
setAscendingvoid setAscending(boolean ascending) Sets whether the ranking should be ascending or descending.- Parameters:
- ascending- This should be true if the ranking should be ascending, false otherwise
 
 - 
getBreakByUnitWebObjectInfo getBreakByUnit() 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.- Returns:
- The WebObjectInfoobject which has the break by unit information.
- See Also:
- setBreakByUnit(com.microstrategy.web.objects.WebObjectInfo)
 
 - 
setBreakByUnitvoid setBreakByUnit(WebObjectInfo object) throws java.lang.IllegalArgumentException Sets the unit over which the rank will be performed.- Parameters:
- object- The- WebObjectInfoobject that contains the information about the break by unit. It has to be contained in the template.
- Throws:
- java.lang.IllegalArgumentException- Thrown if the- WebObjectInfoobject does not exist in the template.
- See Also:
- getBreakByUnit()
 
 - 
isDynamicboolean 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).- Returns:
- Whether the ranking should be dynamic or static.
 
 - 
setDynamicvoid setDynamic(boolean dynamic) Sets whether the ranking should be dynamic or static.- Parameters:
- dynamic- This should be true if the ranking should be dynamic, false otherwise.
 
 
- 
 
-