Package org.hibernate.engine.profile
Class Fetch
- java.lang.Object
-
- org.hibernate.engine.profile.Fetch
-
public class Fetch extends java.lang.ObjectModels an individual fetch within a profile.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFetch.StyleThe type or style of fetch.
-
Constructor Summary
Constructors Constructor Description Fetch(Association association, Fetch.Style style)Constructs a Fetch
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociationgetAssociation()Fetch.StylegetStyle()java.lang.StringtoString()
-
-
-
Constructor Detail
-
Fetch
public Fetch(Association association, Fetch.Style style)
Constructs a Fetch- Parameters:
association- The association to be fetchedstyle- How to fetch it
-
-
Method Detail
-
getAssociation
public Association getAssociation()
-
getStyle
public Fetch.Style getStyle()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-