public EnumMappingGeneratorREF add(Object v) throws DmcValueException {
synchronized(this){
EnumMappingGeneratorREF newval = typeCheck(v);
if (value == null)
initValue();
CamelCaseName key = (CamelCaseName)((DmcMappedAttributeIF)newval).getKey();
EnumMappingGeneratorREF oldval = value.put(key,newval);
if (oldval != null){
// We had a value with this key, ensure that the value actually changed
if (oldval.valuesAreEqual(newval))