001package jmri.jmrix.roco.z21.simulator.configurexml; 002 003import java.util.HashMap; 004import java.util.Map; 005import jmri.configurexml.ClassMigration; 006import org.openide.util.lookup.ServiceProvider; 007 008/** 009 * Handle changes in persistence class names for the Z21 simulator. 010 * 011 * @author Randall Wood Copyright 2017 012 */ 013@ServiceProvider(service = ClassMigration.class) 014public class Z21SimulatorClassMigration implements ClassMigration { 015 016 @Override 017 public Map<String, String> getMigrations() { 018 Map<String, String> map = new HashMap<>(); 019 map.put("jmri.jmrix.roco.z21.simulator.configurexml.ConnectionConfigXml", "jmri.jmrix.roco.z21.simulator.configurexml.Z21SimulatorConnectionConfigXml"); 020 return map; 021 } 022 023}