Interface CountInfo
- 
 public interface CountInfoThe interfaceCountInforepresents count information grouped by a particular field fromEnumDSSXMLJobInfo,EnumDSSXMLUserConnectionInfoorEnumDSSXMLDBConnectionInfo.- Since:
- MicroStrategy Web 9.0.0
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description CountInfoget(int i)Returns the childCountInfoobject at the given index.intgetCount()Returns the count of items at this level.intgetField()Returns the field that this count is grouped by.CountInfogetParent()Returns the parentCountInfo, if one exists.intgetUniqueCount()Returns the count of unique items at this level.java.lang.StringgetValue()Returns the value for the current field that this count grouping represents.booleanhasChildren()Returns whether there is childCountInfoobjects or not.intsize()Returns the number of child CountInfo objects.
 
- 
- 
- 
Method Detail- 
getFieldint getField() Returns the field that this count is grouped by.- Returns:
- the field that this count is grouped by.
- See Also:
- CountSettings.add(int)
 
 - 
getValuejava.lang.String getValue() Returns the value for the current field that this count grouping represents.- Returns:
- the value for the current field that this count grouping represents.
 
 - 
getCountint getCount() Returns the count of items at this level.- Returns:
- the count of items at this level.
 
 - 
hasChildrenboolean hasChildren() Returns whether there is childCountInfoobjects or not.- Returns:
- trueif there is child- CountInfoobjects.
 
 - 
sizeint size() Returns the number of child CountInfo objects.- Returns:
- the number of child CountInfo objects.
 
 - 
getCountInfo get(int i) Returns the childCountInfoobject at the given index.- Parameters:
- i- the position of the child- CountInfo
- Returns:
- the child CountInfo.
 
 - 
getParentCountInfo getParent() Returns the parentCountInfo, if one exists. If there is no parentCountInfo, meaning it is a top-level grouping, this method will return null.- Returns:
- the parent CountInfo, if one exists. Otherwise returnsnull.
 
 - 
getUniqueCountint getUniqueCount() Returns the count of unique items at this level. If this is not meaningfully different fromgetCount(), then the result ofgetCount()will be returned.- Returns:
- the count of unique items at this level.
 
 
- 
 
-