// DebugInfo.debug(uco.toOIF(15));
dmo = cd.newDMOInstance();
// Add the object class
DmcTypeClassDefinitionREFMV cref = new DmcTypeClassDefinitionREFMV();
cref.add(cd.getObjectName());
dmo.add(DmcObject.__objectClass, cref);
// And add any auxiliary classes if we have them
for(int i=1; i<uco.classes.size(); i++){
if ((cd = schema.isClass((String)uco.classes.get(i))) == null){
ResultException ex = new ResultException();
ex.result.addResult(Result.ERROR,"Unknown class: " + uco.classes.get(i));
throw(ex);
}
cref.add(cd.getObjectName());
dmo.add("objectClass", cref);
}
Iterator<String> names = uco.getAttributeNames();
while(names.hasNext()){