예제 #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());
 }
예제 #2
0
 public String getHelpText() {
   return formOptionSet.getHelpText();
 }
예제 #3
0
 public boolean isExpanded() {
   return formOptionSet.isExpanded();
 }
예제 #4
0
 public String getLabel() {
   return formOptionSet.getLabel();
 }
예제 #5
0
 public String getName() {
   return formOptionSet.getName();
 }