com.fdsapi
Class DataSetCellBase
java.lang.Object
|
+--com.fdsapi.DataSet
|
+--com.fdsapi.DataSetCellBase
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- DataSetCell, DataSetCellAlternating, DataSetCellConstant, DataSetCellEmpty, DataSetCellFormattedDataSet, DataSetCellNoAppend, DataSetConditional
- public abstract class DataSetCellBase
- extends DataSet
Base class for DataSets that increments data by default for template tags that end in "_data". The primary added behaviour is to increment data
by default for any template tag type ending in _DATA (i.e. body_cell_data, body_row_data,...)
Any template tag type that does not in in _DATA defaults to false (i.e. body_cell_prefix, body_row_suffix )
View Code
|
Method Summary |
DataIterator |
createDataIterator()
Return the appropriate DataIterator based on whether or not the data should be incremented or not. |
boolean |
getIncrementData()
Returns true if the template tag is supposed to increment the underlying TabularData |
java.lang.String |
getType()
Returns the type of DataSet. |
| Methods inherited from class com.fdsapi.DataSet |
clone, createFactoryInstance, createFactoryInstance, execute, execute, getCellData, getDataSetParm, getMiscDataMap, getStringBuffer, getTabularData, getTemplateVariables, getVariableValue, initialize, log, next, setDataSetParm, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DataSetCellBase
public DataSetCellBase()
getIncrementData
public boolean getIncrementData()
- Returns true if the template tag is supposed to increment the underlying TabularData
getType
public java.lang.String getType()
- Returns the type of DataSet. For example "Alternating".
createDataIterator
public DataIterator createDataIterator()
- Return the appropriate DataIterator based on whether or not the data should be incremented or not.
- Overrides:
createDataIterator in class DataSet