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

public Class Association

extends Object
Class Inheritance
Imports
org.hibernate.persister.entity.EntityPersister

Models the association of a given fetch.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final String
private final EntityPersister
private final String

Constructor Summary

AccessConstructor and Description
public
Association(EntityPersister
The entity owning the association
owner
,
String
The path of the association, from the entity
associationPath
)

Constructs an association defining what is to be fetched.

Method Summary

Modifier and TypeMethod and Description
public String
public EntityPersister
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

associationPathback to summary
private final String associationPath
ownerback to summary
private final EntityPersister owner
roleback to summary
private final String role

Constructor Detail

Associationback to summary
public Association(EntityPersister owner, String associationPath)

Constructs an association defining what is to be fetched.

Parameters
owner:EntityPersister

The entity owning the association

associationPath:String

The path of the association, from the entity

Method Detail

getAssociationPathback to summary
public String getAssociationPath()
getOwnerback to summary
public EntityPersister getOwner()
getRoleback to summary
public String getRole()