Package hec.model

Class ManagerMappingFactory

java.lang.Object
hec.model.ManagerMappingFactory

public class ManagerMappingFactory extends Object
New manager mapping factory to be used by manager proxy and serialization to get the new refactored/moved class name from an old class name
  • Constructor Details

    • ManagerMappingFactory

      public ManagerMappingFactory()
  • Method Details

    • addMapping

      public static void addMapping(String newManagerClass, String oldManagerClass)
      add a newManagerClass to oldManagerClass mapping.
      Parameters:
      newManagerClass - the new class name of the Manager Object
      oldManagerClass - the old class name of the Manager Object
    • removeMapping

      public static void removeMapping(String oldManagerClass)
      remove an oldManagerClass mapping.
      Parameters:
      oldManagerClass - the old class name of the Manager Object
    • getMapping

      public static String getMapping(String oldManagerClass)
      get the new manager class name from an old manager class.
      Parameters:
      oldManagerClass - the old class name of the Manager Object, if not in the mapping and not null then return same object