List<Attribute> attributes = Lists.newArrayList();
for (Entry<String, String> attributeEntry : attributeMap.entrySet()) {
Attribute attribute = new Attribute();
attribute.setAttributeName(attributeEntry.getKey());
attribute.getValues().add(attributeEntry.getValue());
attribute.generateUuid(uuidGenerationKey);
attributes.add(attribute);
}
return attributes;
}