List of usage examples for javax.xml.registry.infomodel Classification getName
InternationalString getName() throws JAXRException;
From source file:it.cnr.icar.eric.client.ui.thin.RegistryObjectCollectionBean.java
public List<SelectItem> getClassifications() throws JAXRException { ArrayList<SelectItem> list = new ArrayList<SelectItem>(); Collection<?> classifications = (Collection<?>) getCurrentRegistryObjectBean().getFields() .get("classifications"); Iterator<?> iter = classifications.iterator(); while (iter.hasNext()) { Classification anItem = (Classification) iter.next(); String cstr = anItem.getName() + ":" + anItem.getValue(); list.add(new SelectItem(cstr)); }// w ww .j a va2 s . c o m return list; }