Class Association

java.lang.Object
org.hibernate.engine.profile.Association

public class Association extends Object
Identifies the association referenced by a Fetch.
  • Constructor Details

    • Association

      public Association(EntityPersister owner, String associationPath)
      Constructs an association defining what is to be fetched.
      Parameters:
      owner - The entity owning the association
      associationPath - The path of the association, from the entity
  • Method Details

    • getOwner

      public EntityPersister getOwner()
      The persister of the owning entity.
    • getAssociationPath

      public String getAssociationPath()
      The property path
    • getRole

      public String getRole()
      The fully qualified role name
    • toString

      public String toString()
      Overrides:
      toString in class Object