Interface CountInfo
- 
public interface CountInfoThe interfaceCountInforepresents count information grouped by a particular field fromEnumDSSXMLJobInfo,EnumDSSXMLUserConnectionInfoorEnumDSSXMLDBConnectionInfo.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
- 
Method Summary
All 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
- 
getField
int getField()
Returns the field that this count is grouped by.- Returns:
 - the field that this count is grouped by.
 - See Also:
 CountSettings.add(int)
 
- 
getValue
java.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.
 
 
- 
getCount
int getCount()
Returns the count of items at this level.- Returns:
 - the count of items at this level.
 
 
- 
hasChildren
boolean hasChildren()
Returns whether there is childCountInfoobjects or not.- Returns:
 trueif there is childCountInfoobjects.
 
- 
size
int size()
Returns the number of child CountInfo objects.- Returns:
 - the number of child CountInfo objects.
 
 
- 
get
CountInfo get(int i)
Returns the childCountInfoobject at the given index.- Parameters:
 i- the position of the childCountInfo- Returns:
 - the child 
CountInfo. 
 
- 
getParent
CountInfo 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. 
 
- 
getUniqueCount
int 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.
 
 
 - 
 
 -