Top Description Inners Fields Constructors Methods
org.hibernate.engine.profile

public Class Fetch

extends Object
Class Inheritance

Models an individual fetch within a profile.
Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
Fetch.Style

The type or style of fetch.

Field Summary

Modifier and TypeField and Description
private final Association
private final Fetch.Style

Constructor Summary

AccessConstructor and Description
public
Fetch(Association association, Fetch.Style style)

Method Summary

Modifier and TypeMethod and Description
public Association
public Fetch.Style
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

associationback to summary
private final Association association
styleback to summary
private final Fetch.Style style

Constructor Detail

Fetchback to summary
public Fetch(Association association, Fetch.Style style)

Method Detail

getAssociationback to summary
public Association getAssociation()
getStyleback to summary
public Fetch.Style getStyle()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

org.hibernate.engine.profile back to summary

public Class Fetch.Style

extends Object
Class Inheritance

The type or style of fetch. For the moment we limit this to join and select, though technically subselect would be valid here as as well; however, to support subselect here would require major changes to the subselect loading code (which is needed for other things as well anyway).

Field Summary

Modifier and TypeField and Description
public static final Fetch.Style
private final String
public static final Fetch.Style

Constructor Summary

AccessConstructor and Description
private
Style(String name)

Method Summary

Modifier and TypeMethod and Description
public static Fetch.Style
parse(String name)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

JOINback to summary
public static final Fetch.Style JOIN
nameback to summary
private final String name
SELECTback to summary
public static final Fetch.Style SELECT

Constructor Detail

Styleback to summary
private Style(String name)

Method Detail

parseback to summary
public static Fetch.Style parse(String name)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.