com.fdsapi
Class DataSetCellFormattedDataSet

java.lang.Object
  |
  +--com.fdsapi.DataSet
        |
        +--com.fdsapi.DataSetCellBase
              |
              +--com.fdsapi.DataSetCellFormattedDataSet
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
DataSetCellDropDownListBox, DataSetCellListBox, DataSetCellRadioButton

public class DataSetCellFormattedDataSet
extends DataSetCellBase

DataSet used to create execute FormattedDataSet as a subquery to an outer call to FormattedDataSet. It is also used as a base class for some of the other DataSets that call methods like getDropDownListBox(...), and getListBox(...).

View Code


Field Summary
 
Fields inherited from class com.fdsapi.DataSet
dataSetParm, templateTagType, variables
 
Constructor Summary
protected DataSetCellFormattedDataSet()
           
 
Method Summary
 DataSet createFactoryInstance()
          A Factory method that creates a clone of this DataSet (see gang of 4 "Factory method" pattern).
 void execute(int y)
          Execute a command against the specified index.
 java.lang.String getDataSource()
          Used for a template tag variable of structure "DataSource==myDataSource" or if not provided it defaults to DataSource
 java.lang.String getQuery()
          Used for a template tag variable of structure "Query==select * from table where name='##this'"
 java.lang.String getSelected()
          Used for a template tag variable of structure "Selected==##this".
 int getSize()
          Used for a template tag variable of structure "size==5" to size list boxes and drop down list boxes.
 java.lang.String getTemplate()
          Used for a template tag variable of structure "Template==myTemplate".
 
Methods inherited from class com.fdsapi.DataSetCellBase
createDataIterator, getIncrementData, getType
 
Methods inherited from class com.fdsapi.DataSet
clone, createFactoryInstance, 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
 

Constructor Detail

DataSetCellFormattedDataSet

protected DataSetCellFormattedDataSet()
Method Detail

createFactoryInstance

public DataSet createFactoryInstance()
Description copied from class: DataSet
A Factory method that creates a clone of this DataSet (see gang of 4 "Factory method" pattern). This allows the type of DataSet to be determined at runtime.

Specified by:
createFactoryInstance in class DataSet

getDataSource

public java.lang.String getDataSource()
Used for a template tag variable of structure "DataSource==myDataSource" or if not provided it defaults to DataSource


getQuery

public java.lang.String getQuery()
Used for a template tag variable of structure "Query==select * from table where name='##this'"


getTemplate

public java.lang.String getTemplate()
Used for a template tag variable of structure "Template==myTemplate". This template is used to format the query.


getSelected

public java.lang.String getSelected()
Used for a template tag variable of structure "Selected==##this". For the DataSets that can select an item such as DataSetCellDropDownListBox it used to hilite the selected item.


getSize

public int getSize()
Used for a template tag variable of structure "size==5" to size list boxes and drop down list boxes.


execute

public void execute(int y)
Description copied from class: DataSet
Execute a command against the specified index. Index can represent a particular column, cell or other entity

Specified by:
execute in class DataSet