checkNewParent( newParentName );
String oldSchemaName = getSchemaName( oriChildName );
ObjectClass oldOc = factory.getObjectClass( schemaManager, entry, schemaManager.getRegistries(), oldSchemaName );
String newSchemaName = getSchemaName( newParentName );
Entry targetEntry = ( Entry ) entry.clone();
<BUG>String newOid = newRdn.getNormValue().getString();
checkOidIsUnique( newOid );</BUG>
targetEntry.put( MetaSchemaConstants.M_OID_AT, newOid );
ObjectClass oc = factory.getObjectClass( schemaManager, targetEntry, schemaManager.getRegistries(),
newSchemaName );

checkNewParent( newParentName );
String oldSchemaName = getSchemaName( oriChildName );
ObjectClass oldOc = factory.getObjectClass( schemaManager, entry, schemaManager.getRegistries(), oldSchemaName );
String newSchemaName = getSchemaName( newParentName );
Entry targetEntry = ( Entry ) entry.clone();
String newOid = newRdn.getNormValue();
checkOidIsUnique( newOid );
targetEntry.put( MetaSchemaConstants.M_OID_AT, newOid );
ObjectClass oc = factory.getObjectClass( schemaManager, targetEntry, schemaManager.getRegistries(),
newSchemaName );
