Package org.hibernate.engine.profile
Class Fetch
- java.lang.Object
-
- org.hibernate.engine.profile.Fetch
-
public class Fetch extends java.lang.Object
Models an individual fetch within a profile.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Fetch.Style
The 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 Association
getAssociation()
Fetch.Style
getStyle()
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-