public interface

AssociationType

implements Type
org.hibernate.type.AssociationType
Known Indirect Subclasses

Class Overview

A type that represents some kind of association between entities.

See Also

Summary

Public Methods
abstract String getAssociatedEntityName(SessionFactoryImplementor factory)
Get the entity name of the associated entity
abstract Joinable getAssociatedJoinable(SessionFactoryImplementor factory)
Get the "persister" for this association - a class or collection persister
abstract ForeignKeyDirection getForeignKeyDirection()
Get the foreign key directionality of this association
abstract String getLHSPropertyName()
Get the name of a property in the owning entity that provides the join key (null if the identifier)
abstract String getOnCondition(String alias, SessionFactoryImplementor factory, Map enabledFilters)
Get the "filtering" SQL fragment that is applied in the SQL on clause, in addition to the usual join condition
abstract String getRHSUniqueKeyPropertyName()
The name of a unique property of the associated entity that provides the join key (null if the identifier of an entity, or key of a collection)
abstract boolean isAlwaysDirtyChecked()
Do we dirty check this association, even when there are no columns to be updated?
abstract boolean isEmbeddedInXML()
abstract boolean useLHSPrimaryKey()
Is the primary key of the owning entity table to be used in the join?
[Expand]
Inherited Methods
From interface org.hibernate.type.Type

Public Methods

public abstract String getAssociatedEntityName (SessionFactoryImplementor factory)

Get the entity name of the associated entity

public abstract Joinable getAssociatedJoinable (SessionFactoryImplementor factory)

Get the "persister" for this association - a class or collection persister

public abstract ForeignKeyDirection getForeignKeyDirection ()

Get the foreign key directionality of this association

public abstract String getLHSPropertyName ()

Get the name of a property in the owning entity that provides the join key (null if the identifier)

public abstract String getOnCondition (String alias, SessionFactoryImplementor factory, Map enabledFilters)

Get the "filtering" SQL fragment that is applied in the SQL on clause, in addition to the usual join condition

public abstract String getRHSUniqueKeyPropertyName ()

The name of a unique property of the associated entity that provides the join key (null if the identifier of an entity, or key of a collection)

public abstract boolean isAlwaysDirtyChecked ()

Do we dirty check this association, even when there are no columns to be updated?

public abstract boolean isEmbeddedInXML ()

public abstract boolean useLHSPrimaryKey ()

Is the primary key of the owning entity table to be used in the join?