com.iphrase.onestep.beans
Class DrillDownList

java.lang.Object
  |
  +--com.iphrase.onestep.beans.DrillDownList

public class DrillDownList
extends java.lang.Object

Contains data required for formatting of drilldown (RefineBy) component. The data structure of this class is optimized for access from JSP.


Constructor Summary
DrillDownList(com.iphrase.runtime.query.Query query, com.iphrase.runtime.query.result.TallyFeature tallyFeature, boolean recursive)
          Constructs a DrillDownList object
 
Method Summary
 int getCount()
          Identical to size()
 TallyValueHandler[] getValues()
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrillDownList

public DrillDownList(com.iphrase.runtime.query.Query query,
                     com.iphrase.runtime.query.result.TallyFeature tallyFeature,
                     boolean recursive)
Constructs a DrillDownList object
Parameters:
query - Query object used to produce the result set
tallyFeature - underlying TallyFeature object
recursive - if false only top level items are counted. This parameter is ignored when tallyFeature doesn't represent hierarchical data.
Method Detail

getValues

public TallyValueHandler[] getValues()
Returns:
array of underlying TallyValueHandler values

size

public int size()
Returns:
count of underlying TallyValueHandler values

getCount

public int getCount()
Identical to size()
Returns:
count of underlying TallyValueHandler values

© Copyright 2005, 2006. IBM Corporation. All rights reserved.