Package org.hibernate.mapping
Class FetchProfile
java.lang.Object
org.hibernate.mapping.FetchProfile
A mapping model object representing a
FetchProfile
.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An individual association fetch within the given profile. -
Constructor Summary
ConstructorsConstructorDescriptionFetchProfile
(String name, MetadataSource source) Create a fetch profile representation. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFetch
(FetchProfile.Fetch fetch) Adds a fetch to this profile.boolean
Retrieve the fetches associated with this profilegetName()
Retrieve the name of the fetch profile.Retrieve the fetch profile source.int
hashCode()
-
Constructor Details
-
FetchProfile
Create a fetch profile representation.- Parameters:
name
- The name of the fetch profile.source
- The source of the fetch profile (where was it defined).
-
-
Method Details
-
getName
Retrieve the name of the fetch profile.- Returns:
- The profile name
-
getSource
Retrieve the fetch profile source.- Returns:
- The profile source.
-
getFetches
Retrieve the fetches associated with this profile- Returns:
- The fetches associated with this profile.
-
addFetch
Adds a fetch to this profile. -
equals
-
hashCode
public int hashCode()
-