org.opengts.war.report
Class DataRowTemplate

java.lang.Object
  extended by org.opengts.war.report.DataRowTemplate
Direct Known Subclasses:
AntxLayout.AntxDataRow, EventDataLayout.EventDataRow, FieldLayout.FieldDataRow

public abstract class DataRowTemplate
extends java.lang.Object


Constructor Summary
DataRowTemplate()
           
 
Method Summary
protected  boolean _addColumnTemplate(java.lang.String key, DataColumnTemplate dc)
           
protected  java.lang.String _normalizeKey(java.lang.String key)
           
 boolean addColumnTemplate(DataColumnTemplate dc, java.lang.String... aliasKeys)
           
 java.util.Set<java.lang.String> getColumnNames()
           
 DataColumnTemplate getColumnTemplate(java.lang.String key)
           
 java.lang.Object getFieldValue(java.lang.String key, int rowNdx, ReportData rd, ReportColumn rc, java.lang.Object obj)
           
 DBDataRow.RowType getRowType(java.lang.Object obj)
           
 boolean hasColumn(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataRowTemplate

public DataRowTemplate()
Method Detail

_normalizeKey

protected java.lang.String _normalizeKey(java.lang.String key)

_addColumnTemplate

protected boolean _addColumnTemplate(java.lang.String key,
                                     DataColumnTemplate dc)

addColumnTemplate

public boolean addColumnTemplate(DataColumnTemplate dc,
                                 java.lang.String... aliasKeys)

getColumnTemplate

public DataColumnTemplate getColumnTemplate(java.lang.String key)

hasColumn

public boolean hasColumn(java.lang.String key)

getColumnNames

public java.util.Set<java.lang.String> getColumnNames()

getRowType

public DBDataRow.RowType getRowType(java.lang.Object obj)

getFieldValue

public java.lang.Object getFieldValue(java.lang.String key,
                                      int rowNdx,
                                      ReportData rd,
                                      ReportColumn rc,
                                      java.lang.Object obj)