Interface EntityExportMapping<K>


public interface EntityExportMapping<K>
Provides the ability to map local IDs to instance agnostic logical IDs during an export.
Since:
5.13
  • Method Summary

    Modifier and Type
    Method
    Description
    Given a local ID, calculate its corresponding export ID.
  • Method Details

    • getExportId

      @Nonnull String getExportId(@Nonnull K id)
      Given a local ID, calculate its corresponding export ID. The IDs generated are only guaranteed to be stable on the same instance, i.e. given an ID '5' on instance A might yield a different value on instance B.
      Parameters:
      id - Local ID of the entity on this instance
      Returns:
      Export ID of the entity