org.hibernate.mapping
Class FetchProfile

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

public class FetchProfile
extends 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(String name)
           
 
Method Summary
 void addFetch(String entity, String association, String style)
           
 boolean equals(Object o)
           
 LinkedHashSet getFetches()
           
 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(String name)
Method Detail

getName

public String getName()

getFetches

public LinkedHashSet getFetches()

addFetch

public void addFetch(String entity,
                     String association,
                     String style)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.