ca.sqlpower.wabit.report.chart
Class ComparableCategoryRow

java.lang.Object
  extended by ca.sqlpower.wabit.report.chart.ComparableCategoryRow
All Implemented Interfaces:
java.lang.Comparable<ComparableCategoryRow>

public class ComparableCategoryRow
extends java.lang.Object
implements java.lang.Comparable<ComparableCategoryRow>

This object is used to define a row in a category dataset for an OLAP dataset. Each row can be defined by a combination of a Position and any number of strings which are the values in the columns defined as categories. A position is always less than a string for the comparison and a shorter list is less than a longer one.


Constructor Summary
ComparableCategoryRow()
           
 
Method Summary
 void add(org.olap4j.Position position)
           
 void add(java.lang.String formattedValue)
           
 int compareTo(ComparableCategoryRow o)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComparableCategoryRow

public ComparableCategoryRow()
Method Detail

compareTo

public int compareTo(ComparableCategoryRow o)
Specified by:
compareTo in interface java.lang.Comparable<ComparableCategoryRow>

add

public void add(java.lang.String formattedValue)

add

public void add(org.olap4j.Position position)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009. All Rights Reserved.