public class CompositeDataChoice extends DirectDataChoice
DataChoice with associated categories and child choices
 for the individual components.dataSource, PROP_WRITEDATASOURCEdescription, id, name, NULL_DATASELECTION, NULL_PROPERTIES, NULL_REQUESTPROPERTIES, parent, PROP_ICON, PROP_REQUESTER, properties| Constructor and Description | 
|---|
CompositeDataChoice()
Create a CompositeDataChoices with no associated child choices 
 | 
CompositeDataChoice(CompositeDataChoice other)
Create a CompositeDataChoices from another composite. 
 | 
CompositeDataChoice(DataSource dataSource,
                   java.lang.Object id,
                   java.lang.String description,
                   java.util.List categories)
Create a composite data choice for the associated
  
DataSource given the other parameters. | 
CompositeDataChoice(DataSource dataSource,
                   java.lang.Object id,
                   java.lang.String name,
                   java.lang.String description,
                   java.util.List categories)
Create a composite data choice for the associated
  
DataSource given the other parameters. | 
CompositeDataChoice(DataSource dataSource,
                   java.lang.Object id,
                   java.lang.String name,
                   java.lang.String description,
                   java.util.List categories,
                   java.util.Hashtable properties)
Create a composite data choice for the associated
  
DataSource given the other parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addDataChoice(DataChoice c)
Add a  
DataChoice to the composite | 
DataChoice | 
cloneMe()
Method for cloning this choice. 
 | 
void | 
expandIfNeeded()
Gets called by the GUI to incrementally add children if needed 
 | 
java.util.List | 
getAllDateTimes()
Override the superclass method for this. 
 | 
java.util.List | 
getAllLevels(DataSelection dataSelection)
Get all the levels associated with this choice 
 | 
java.util.List | 
getDataChoices()
Get the list of child data choices. 
 | 
void | 
getFinalDataChoices(java.util.List finalDataChoices)
Add to the given list all final data choices (i.e.,
 the leafs of the datachoice tree) 
 | 
int | 
getNumChildren()
Get the number of child  
DataChoices | 
java.util.List | 
getSelectedDateTimes()
Override the superclass method for this. 
 | 
boolean | 
getUseDataSourceToFindTimes()
Get the UseDataSourceToFindTimes property. 
 | 
void | 
initAfterUnPersistence(java.util.Hashtable properties)
This gets called  after the data choice has been unpersisted 
 | 
void | 
removeAllDataChoices()
Remove the current children 
 | 
void | 
removeDataChoice(DataChoice c)
Remove a  
DataChoice from the composite | 
void | 
replaceDataChoice(DataChoice oldDataChoice,
                 DataChoice newDataChoice)
Replace the given child with the given chold 
 | 
void | 
replaceDataChoices(java.util.List newChoices)
Remove the current children and add the new ones 
 | 
void | 
setDataChoices(java.util.List l)
Set the list of child data choices for this composite 
 | 
void | 
setUseDataSourceToFindTimes(boolean value)
Set the UseDataSourceToFindTimes property. 
 | 
addDataChangeListener, basicallyEquals, equals, getData, getDataSource, getDataSources, getFullDescription, hashCode, removeDataChangeListener, setDataSourceaddCategory, addCurrentName, addParamNameToCategories, cloneDataChoices, createClone, getAllLevels, getCategories, getCurrentNames, getData, getData, getDataCategories, getDataCategories, getDataSelection, getDescription, getDisplayCategory, getFixedRequestProperties, getForUser, getId, getIndexedName, getName, getParent, getProperties, getProperty, getProperty, getProperty, getStringId, isEndUserFormula, mergeRequestProperties, setCategories, setDataCategories, setDataSelection, setDescription, setFixedRequestProperties, setId, setLevelSelection, setName, setObjectProperty, setParent, setProperties, setProperty, setProperty, setTimeSelection, toStringpublic CompositeDataChoice()
public CompositeDataChoice(CompositeDataChoice other)
DataChoices from other.other - other compositepublic CompositeDataChoice(DataSource dataSource, java.lang.Object id, java.lang.String description, java.util.List categories)
DataSource given the other parameters.dataSource - source of the dataid - id of this choicedescription - description for this choicecategories - choice categoriespublic CompositeDataChoice(DataSource dataSource, java.lang.Object id, java.lang.String name, java.lang.String description, java.util.List categories)
DataSource given the other parameters.dataSource - source of the dataid - id of this choicename - name of this choicedescription - description for this choicecategories - choice categoriespublic CompositeDataChoice(DataSource dataSource, java.lang.Object id, java.lang.String name, java.lang.String description, java.util.List categories, java.util.Hashtable properties)
DataSource given the other parameters.dataSource - source of the dataid - id of this choicename - name of this choicedescription - description for this choicecategories - choice categoriesproperties - miscellaneous properties for this choicepublic void expandIfNeeded()
public DataChoice cloneMe()
cloneMe in class DirectDataChoicepublic void initAfterUnPersistence(java.util.Hashtable properties)
initAfterUnPersistence in class DirectDataChoiceproperties - Propertiespublic void getFinalDataChoices(java.util.List finalDataChoices)
getFinalDataChoices in class DirectDataChoicefinalDataChoices - The list to add topublic int getNumChildren()
DataChoicespublic java.util.List getAllLevels(DataSelection dataSelection)
getAllLevels in class DirectDataChoicedataSelection - data selectionpublic java.util.List getAllDateTimes()
getAllDateTimes in class DirectDataChoicepublic java.util.List getSelectedDateTimes()
getSelectedDateTimes in class DirectDataChoicepublic void addDataChoice(DataChoice c)
DataChoice to the compositec - choice to addpublic void replaceDataChoice(DataChoice oldDataChoice, DataChoice newDataChoice)
oldDataChoice - old onenewDataChoice - new onepublic void replaceDataChoices(java.util.List newChoices)
newChoices - New children data choicespublic void removeAllDataChoices()
public void removeDataChoice(DataChoice c)
DataChoice from the compositec - choice to removepublic java.util.List getDataChoices()
public void setDataChoices(java.util.List l)
l - list of choicespublic void setUseDataSourceToFindTimes(boolean value)
value - The new value for UseDataSourceToFindTimespublic boolean getUseDataSourceToFindTimes()