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

public Class Association

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

Identifies the association referenced by a 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
getAssociationPath()

The property path

public EntityPersister
getOwner()

The persister of the owning entity.

public String
getRole()

The fully qualified role name

public String
toString()

Overrides java.lang.Object.toString.

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

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()

The property path

getOwnerback to summary
public EntityPersister getOwner()

The persister of the owning entity.

getRoleback to summary
public String getRole()

The fully qualified role 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.

Annotations
@Override