class MetaInjectMigration {

  public static void migrateFrom70( Map<TargetTransformAttribute, SourceTransformField> targetSourceMapping ) {
    /*
     * Need to convert GetTableNamesMeta.SCHENAMENAMEFIELD to the GetTableNamesMeta.SCHEMANAMEFIELD
     */
    for ( TargetTransformAttribute target : new ArrayList<>( targetSourceMapping.keySet() ) ) {
      if ( "SCHENAMENAMEFIELD".equals( target.getAttributeKey() ) ) {
        SourceTransformField so = targetSourceMapping.remove( target );
        TargetTransformAttribute target2 =
            new TargetTransformAttribute( target.getTransformName(), "SCHEMANAMEFIELD", target.isDetail() );
        targetSourceMapping.put( target2, so );
      }
    }
  }

}