public void setPermittedBeanRoots(StringList permittedroots) { this.permittedroots.addAll(permittedroots); //this.permittedroots = permittedroots.toStringArray(); }
public static StringSet computeSelectionSet(UIBound selection) { StringSet togo = new StringSet(); if (selection instanceof UIBoundList) { togo.addAll(((UIBoundList) selection).getValue()); } else if (selection instanceof UIBoundString) { togo.add(((UIBoundString) selection).getValue()); } return togo; }