Esempio n. 1
0
 public FormOptionSetJson(final FormOptionSet formOptionSet) {
   this.formOptionSet = formOptionSet;
   this.occurrences = new OccurrencesJson(formOptionSet.getOccurrences());
   this.multiselection = new OccurrencesJson(formOptionSet.getMultiselection());
   this.options =
       StreamSupport.stream(formOptionSet.spliterator(), false)
           .map(FormOptionSetOptionJson::new)
           .collect(Collectors.toList());
 }
Esempio n. 2
0
 public String getHelpText() {
   return formOptionSet.getHelpText();
 }
Esempio n. 3
0
 public boolean isExpanded() {
   return formOptionSet.isExpanded();
 }
Esempio n. 4
0
 public String getLabel() {
   return formOptionSet.getLabel();
 }
Esempio n. 5
0
 public String getName() {
   return formOptionSet.getName();
 }