Example #1
0
 /**
  * Add to the given list all final data choices (i.e., the leafs of the datachoice tree)
  *
  * @param finalDataChoices The list to add to
  */
 public void getFinalDataChoices(List finalDataChoices) {
   super.getFinalDataChoices(finalDataChoices);
   for (int i = 0; i < dataChoices.size(); i++) {
     ((DataChoice) dataChoices.get(i)).getFinalDataChoices(finalDataChoices);
   }
 }
Example #2
0
 /**
  * This gets called after the data choice has been unpersisted
  *
  * @param properties Properties
  */
 public void initAfterUnPersistence(Hashtable properties) {
   super.initAfterUnPersistence(properties);
   for (int i = 0; i < dataChoices.size(); i++) {
     ((DataChoice) dataChoices.get(i)).initAfterUnPersistence(properties);
   }
 }