Interface IdentifiableEntity<K>

Type Parameters:
K - the type of the key/identifier
All Known Implementing Classes:
ExternalOrderEntity, FillEntity, PositionEntity, QuoteEntity, ReservationEntity

public interface IdentifiableEntity<K>
Interface for JPA entities that can provide their own unique identifier. This mirrors the Identifiable interface in the model package, providing a consistent pattern for entity key extraction.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the unique identifier for this entity.
  • Method Details

    • getId

      K getId()
      Returns the unique identifier for this entity.
      Returns:
      the unique key