}
for (String key : constraints.keySet())
{
// make sure contraint attribute is valid
ConstraintAttribute attr = ConstraintAttribute.valueOf(key.toUpperCase());
map.put(attr.toString(), constraints.get(key));
}
return currentData;
}
}, AccessOption.PERSISTENT);