Map descValues = new HashMap();
for (Iterator iterator = meta.getDescription().getValues().iterator(); iterator.hasNext();)
{
LocalizedValueMetaData value = (LocalizedValueMetaData)iterator.next();
descValues.put(value.getLocale(),value.getValue());
}
Map dispValues = new HashMap();
for (Iterator iterator = meta.getDisplayName().getValues().iterator(); iterator.hasNext();)
{
LocalizedValueMetaData value = (LocalizedValueMetaData)iterator.next();
dispValues.put(value.getLocale(),value.getValue());
}
description = new LocalizedString(descValues, Locale.ENGLISH);
displayName = new LocalizedString(dispValues, Locale.ENGLISH);