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()); }
public String getHelpText() { return formOptionSet.getHelpText(); }
public boolean isExpanded() { return formOptionSet.isExpanded(); }
public String getLabel() { return formOptionSet.getLabel(); }
public String getName() { return formOptionSet.getName(); }