Interface CountInfo
-
public interface CountInfo
The interfaceCountInfo
represents count information grouped by a particular field fromEnumDSSXMLJobInfo
,EnumDSSXMLUserConnectionInfo
orEnumDSSXMLDBConnectionInfo
.- Since:
- MicroStrategy Web 9.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CountInfo
get(int i)
Returns the childCountInfo
object at the given index.int
getCount()
Returns the count of items at this level.int
getField()
Returns the field that this count is grouped by.CountInfo
getParent()
Returns the parentCountInfo
, if one exists.int
getUniqueCount()
Returns the count of unique items at this level.java.lang.String
getValue()
Returns the value for the current field that this count grouping represents.boolean
hasChildren()
Returns whether there is childCountInfo
objects or not.int
size()
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 childCountInfo
objects or not.- Returns:
true
if there is childCountInfo
objects.
-
size
int size()
Returns the number of child CountInfo objects.- Returns:
- the number of child CountInfo objects.
-
get
CountInfo get(int i)
Returns the childCountInfo
object 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.
-
-