Interface TypecodeMapper


public interface TypecodeMapper
Provides method for mapping a typecode to another typecode. Called by MigrationUtils at conversion of old-style PK's to new style PK's: With that you can change at conversion of PK the typecode encoded at the PK in case you have changed the typecode of a type.
Since:
3.1-u5
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    mapTypecode(int typecode)
    Maps given typecode to another typecode.
  • Method Details

    • mapTypecode

      int mapTypecode(int typecode)
      Maps given typecode to another typecode.
      Parameters:
      typecode - typecode to map
      Returns:
      mapped typecode or given one in case no mapping has to be done