Interface JoinAwarePersistentEntity

All Known Implementing Classes:
DiscriminatorPersistentEntity, RootPersistentEntity

public interface JoinAwarePersistentEntity
Contract for entity mappings that support secondary table joins.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addJoin(Join join)
    Add a secondary table join to the entity mapping.
    Get an unmodifiable list of joins associated with entity mapping.
  • Method Details

    • getJoins

      List<Join> getJoins()
      Get an unmodifiable list of joins associated with entity mapping.
      Returns:
      list of joins
    • addJoin

      void addJoin(Join join)
      Add a secondary table join to the entity mapping.
      Parameters:
      join - the secondary table join, should never be null