Previous Topic: Example: Implementing doModifyRnAssocsNext Topic: Rename Operation Testing


Example: Calling doModifyRnAssocs()inside doModifyRn()

The following is an example of calling doModifyRnAssocs()inside doModifyRn():

   // need to replace every reference to the renamed object, with the new name
   if (!objInfo.getObjectClassMapping().getToAssociations().isEmpty())
       doModifyRnAssocs(objInfo, newRn, null);