Class HibernateColumnResolverUtility.PrimaryKeyColumnLocation

java.lang.Object
com.broadleafcommerce.data.tracking.jpa.support.HibernateColumnResolverUtility.PrimaryKeyColumnLocation
Enclosing class:
HibernateColumnResolverUtility

public static class HibernateColumnResolverUtility.PrimaryKeyColumnLocation extends Object
Represents the physical location of primary key information for an entity.
  • Constructor Details

    • PrimaryKeyColumnLocation

      public PrimaryKeyColumnLocation(HibernateColumnResolverUtility.ColumnLocation currentEntityPrimaryKeyLocation, @Nullable HibernateColumnResolverUtility.ColumnLocation rootEntityPrimaryKeyLocation)
      Creates a new PrimaryKeyColumnLocation instance.
      Parameters:
      currentEntityPrimaryKeyLocation - Identifies the physical location for the primary key of the current entity.
      rootEntityPrimaryKeyLocation - If the 'current entity' is an extension of another entity (ex: extension with Inheritance strategy of JOINED), this will contain the primary key details about the root entity's table.
  • Method Details

    • getCurrentEntityPrimaryKeyLocation

      public HibernateColumnResolverUtility.ColumnLocation getCurrentEntityPrimaryKeyLocation()
      Identifies the physical location for the primary key of the current entity.
    • getRootEntityPrimaryKeyLocation

      @Nullable public HibernateColumnResolverUtility.ColumnLocation getRootEntityPrimaryKeyLocation()
      If the 'current entity' is an extension of another entity (ex: extension with Inheritance strategy of JOINED), this will contain the primary key details about the root entity's table.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object