}
if (optList != null) {
for (Map<String, Object> optAtt : optList) {
CategoryAttributeOption option = new CategoryAttributeOption();
option.setLabel((String) optAtt.get("label"));
option.setValue(optAtt.get("value"));
attribute.getOptions().add(option);
}
}
}