org.hibernate.mapping
Class FetchProfile

java.lang.Object
  extended by org.hibernate.mapping.FetchProfile

public class FetchProfile
extends java.lang.Object

A fetch profile allows a user to dynamically modify the fetching strategy used for particular associations at runtime, whereas that information was historically only statically defined in the metadata.

Author:
Steve Ebersole

Nested Class Summary
static class FetchProfile.Fetch
          Defines an individual association fetch within the given profile.
 
Constructor Summary
FetchProfile(java.lang.String name)
           
 
Method Summary
 void addFetch(java.lang.String entity, java.lang.String association, java.lang.String style)
           
 boolean equals(java.lang.Object o)
           
 java.util.LinkedHashSet getFetches()
           
 java.lang.String getName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FetchProfile

public FetchProfile(java.lang.String name)
Method Detail

getName

public java.lang.String getName()

getFetches

public java.util.LinkedHashSet getFetches()

addFetch

public void addFetch(java.lang.String entity,
                     java.lang.String association,
                     java.lang.String style)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2010. All Rights Reserved.