for (PartyType type : PartyType.values()) {
for (PartyTypeEnum type : PartyTypeEnum.values()) {
    public List<SelectItem> getValidUnitType() {        List<SelectItem> list = new ArrayList<SelectItem>();        ResourceBundle bundle = getResourceBundle("resources/EnumerationResources");        SelectItem selectItem = null;        for (PartyType type : PartyType.values()) {            selectItem = new SelectItem();            selectItem.setLabel(bundle.getString(type.getName()));            selectItem.setValue(type.getName());            list.add(selectItem);        }        Collections.sort(list, new BeanComparator("label"));        addDefaultSelectedItem(list, bundle);        return list;    }