rc = new ComplexTypeDefinitionREF();
rc.setName((DmcObjectName)value);
}
else if (value instanceof String){
rc = new ComplexTypeDefinitionREF();
rc.setName(new StringName((String)value));
}
else
throw(new DmcValueException("Object of class:" + value.getClass().getName() + " passed where a ComplexTypeDefinitionREF/DMO or DmcObjectName expected."));
return(rc);
}