org.shapelogic.reporting
Class TableDefinition

java.lang.Object
  extended by org.shapelogic.reporting.TableDefinition

public class TableDefinition
extends java.lang.Object

TableDefinition contains a list of ColumnDefinition.

Author:
Sami Badawi

Field Summary
protected  java.util.List<org.shapelogic.reporting.ColumnDefinition> _columnDefinition
           
protected  java.util.List<org.shapelogic.reporting.ColumnDefinition> _rawColumnDefinition
           
protected  java.util.List<org.shapelogic.reporting.ColumnDefinition> _sortedColumnDefinition
           
 
Constructor Summary
TableDefinition(java.util.List doubleList)
           
 
Method Summary
 NumberedStream addClosureDefinition(NumberedStream baseStream, Calc1 calc, java.lang.String columnName)
          Create a stream based on another stream and a calc.
 void addDefinition(java.util.List doubleList)
           
 void addDefinition(java.lang.Object streamObject, java.lang.String columnName)
           
 void findNonEmptyColumns(RecursiveContext recursiveContext)
           
 java.util.List<org.shapelogic.reporting.ColumnDefinition> getColumnDefinition()
           
 java.util.List<org.shapelogic.reporting.ColumnDefinition> getRawColumnDefinition()
           
 org.shapelogic.reporting.ColumnDefinition makeColumnDefinition(java.lang.String streamName, RecursiveContext recursiveContext)
           
 void sort(java.util.List<java.lang.String> sortOrderList, RecursiveContext recursiveContext)
          Give a print list and sort accordingly.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_columnDefinition

protected java.util.List<org.shapelogic.reporting.ColumnDefinition> _columnDefinition

_rawColumnDefinition

protected java.util.List<org.shapelogic.reporting.ColumnDefinition> _rawColumnDefinition

_sortedColumnDefinition

protected java.util.List<org.shapelogic.reporting.ColumnDefinition> _sortedColumnDefinition
Constructor Detail

TableDefinition

public TableDefinition(java.util.List doubleList)
Method Detail

addDefinition

public void addDefinition(java.lang.Object streamObject,
                          java.lang.String columnName)

makeColumnDefinition

public org.shapelogic.reporting.ColumnDefinition makeColumnDefinition(java.lang.String streamName,
                                                                      RecursiveContext recursiveContext)

addDefinition

public void addDefinition(java.util.List doubleList)

addClosureDefinition

public NumberedStream addClosureDefinition(NumberedStream baseStream,
                                           Calc1 calc,
                                           java.lang.String columnName)
Create a stream based on another stream and a calc.

Parameters:
baseStream -
calc -
columnName -

getColumnDefinition

public java.util.List<org.shapelogic.reporting.ColumnDefinition> getColumnDefinition()

getRawColumnDefinition

public java.util.List<org.shapelogic.reporting.ColumnDefinition> getRawColumnDefinition()

findNonEmptyColumns

public void findNonEmptyColumns(RecursiveContext recursiveContext)

sort

public void sort(java.util.List<java.lang.String> sortOrderList,
                 RecursiveContext recursiveContext)
Give a print list and sort accordingly.

Parameters:
sortOrderList -
recursiveContext -


Copyright © 2009. All Rights Reserved.