Interface Entity<K>

Type Parameters:
K - primary key type of the entity
All Known Implementing Classes:
AddressEntity, CustomerEntity

public interface Entity<K>
Entity - this interface must be implemented by all entities in the system
Author:
Karl Eilebrecht
  • Method Summary

    Modifier and Type Method Description
    K getId()
    Returns the ID (primary key) of the entity
  • Method Details

    • getId

      K getId()
      Returns the ID (primary key) of the entity
      Returns:
      id