}
return converter;
}
public static UISelectItems getPseudoSelectItems(SelectItemsInterface selectItemsInterface) {
UISelectItems selectItems = null;
if (selectItemsInterface.getVar() != null && selectItemsInterface.getItemValues() != null) {
selectItems = new UISelectItems();
selectItems.setValue(selectItemsInterface.getItemValues());
selectItems.getAttributes().put("var", selectItemsInterface.getVar());
if (selectItemsInterface.getItemValue() != null) {
selectItems.getAttributes().put("itemValue", selectItemsInterface.getItemValue());
}
if (selectItemsInterface.getItemLabel() != null) {
selectItems.getAttributes().put("itemLabel", selectItemsInterface.getItemLabel());
}
}
return selectItems;
}