// otherwise, go through the detailed definitions
Set<Item> items = new HashSet<Item>();
for(EObject itemCfg : config.getItems()) {
if (itemCfg instanceof ItemConfig) {
ItemConfig singleItemConfig = (ItemConfig) itemCfg;
try {
Item item = itemRegistry.getItem(singleItemConfig.getItem());
items.add(item);
} catch (ItemNotFoundException e) {
logger.debug("Item '{}' does not exist.", singleItemConfig.getItem());
}
}
if (itemCfg instanceof GroupConfig) {
GroupConfig groupItemCfg = (GroupConfig) itemCfg;
String groupName = groupItemCfg.getGroup();